Skip to content

Commit

Permalink
Merge pull request #98 from Zilliqa/develop
Browse files Browse the repository at this point in the history
fix: production pipeline (#97)
  • Loading branch information
frankmeds authored Jan 17, 2025
2 parents 0ab9220 + 85eaf11 commit 9357b65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd-prd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fetch-depth: 0

- name: "Authenticate to Google Cloud - staging"
id: google-auth
id: google-auth-stg
uses: "google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa"
with:
token_format: "access_token"
Expand All @@ -50,7 +50,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: "oauth2accesstoken"
password: "${{ steps.google-auth.outputs.access_token }}"
password: "${{ steps.google-auth-stg.outputs.access_token }}"

- name: "Build and push ${{ matrix.application }} - staging"
env:
Expand All @@ -70,7 +70,7 @@ jobs:
make image/build-and-push
- name: "Authenticate to Google Cloud - production"
id: google-auth
id: google-auth-prd
uses: "google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa"
with:
token_format: "access_token"
Expand All @@ -83,7 +83,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: "oauth2accesstoken"
password: "${{ steps.google-auth.outputs.access_token }}"
password: "${{ steps.google-auth-prd.outputs.access_token }}"

- name: "Build and push ${{ matrix.application }} - production"
env:
Expand Down

0 comments on commit 9357b65

Please sign in to comment.