File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1717 OIDC_PROVIDER : projects/23849419004/locations/global/workloadIdentityPools/polygonlabs-shared-prod/providers/oidc-shared-prod
1818 OIDC_SERVICE_ACCOUNT : shared-prod-oidc-sa@prj-polygonlabs-shared-prod.iam.gserviceaccount.com
1919
20+ permissions :
21+ contents : read
22+ id-token : write
23+
2024jobs :
2125 build_and_deploy :
2226 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 77 branches :
88 - dev
99 - main
10+ - SPEC-889-Add-github-workflow-to-publish-docker-img
1011 workflow_dispatch :
1112 inputs :
1213 environment :
@@ -22,12 +23,14 @@ jobs:
2223 if : |
2324 (github.event_name == 'pull_request' && startsWith(github.head_ref, 'hosted/')) ||
2425 (github.event_name == 'push' && github.ref == 'refs/heads/dev') ||
26+ (github.event_name == 'push' && github.ref == 'refs/heads/SPEC-889-Add-github-workflow-to-publish-docker-img') ||
2527 (github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2628 (github.event_name == 'workflow_dispatch' && inputs.environment == 'prod')
2729 uses : ./.github/workflows/build_and_deploy_gcp.yml
2830 with :
2931 environment : ${{ inputs.environment ||
3032 (github.ref == 'refs/heads/dev' && 'dev') ||
33+ (github.ref == 'refs/heads/SPEC-889-Add-github-workflow-to-publish-docker-img' && 'dev') ||
3134 (github.ref == 'refs/heads/main' && 'staging') ||
3235 (github.event_name == 'pull_request' && 'dev') ||
3336 ' dev' }}
You can’t perform that action at this time.
0 commit comments