chore: Shared JS/TS Conversions Part 3 #1126
Workflow file for this run
This file contains 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] | |
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/[email protected] | |
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/[email protected] | |
secrets: inherit | |
with: | |
push_release: true | |
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-frontend' }} | |
cache_requirements: false |