Merge pull request #106 from codecov/release/24.11.1 #156
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: Gateway CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-self-hosted: | |
name: Build Self Hosted Image | |
uses: codecov/gha-workflows/.github/workflows/[email protected] | |
secrets: inherit | |
with: | |
repo: ${{ vars.CODECOV_GATEWAY_IMAGE || 'codecov/self-hosted-gateway' }} | |
cache_requirements: false | |
self-hosted: | |
name: Push Self Hosted Image | |
needs: [ build-self-hosted ] | |
secrets: inherit | |
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main') && github.repository_owner == 'codecov' }} | |
uses: codecov/gha-workflows/.github/workflows/[email protected] | |
with: | |
push_rolling: true | |
cache_requirements: false | |
repo: ${{ vars.CODECOV_GATEWAY_IMAGE || 'codecov/self-hosted-gateway' }} | |