This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Consolidate duplicated is_admin_on_provider fn
#956
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create Self Hosted Release | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [closed] | |
| permissions: | |
| contents: "read" | |
| id-token: "write" | |
| jobs: | |
| create-release: | |
| name: Tag Release ${{ github.head_ref }} and Push Docker image to Docker Hub | |
| if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }} | |
| uses: codecov/gha-workflows/.github/workflows/create-release.yml@v1.2.33 | |
| with: | |
| tag_to_prepend: self-hosted- | |
| secrets: inherit | |
| push-image: | |
| needs: [create-release] | |
| if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }} | |
| uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.33 | |
| secrets: inherit | |
| with: | |
| push_release: true | |
| repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} | |
| cache_file: "uv.lock" |