Skip to content

Commit 9357b65

Browse files
authoredJan 17, 2025··
Merge pull request #98 from Zilliqa/develop
fix: production pipeline (#97)
2 parents 0ab9220 + 85eaf11 commit 9357b65

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/cicd-prd.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0
3838

3939
- name: "Authenticate to Google Cloud - staging"
40-
id: google-auth
40+
id: google-auth-stg
4141
uses: "google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa"
4242
with:
4343
token_format: "access_token"
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
registry: ${{ env.REGISTRY }}
5252
username: "oauth2accesstoken"
53-
password: "${{ steps.google-auth.outputs.access_token }}"
53+
password: "${{ steps.google-auth-stg.outputs.access_token }}"
5454

5555
- name: "Build and push ${{ matrix.application }} - staging"
5656
env:
@@ -70,7 +70,7 @@ jobs:
7070
make image/build-and-push
7171
7272
- name: "Authenticate to Google Cloud - production"
73-
id: google-auth
73+
id: google-auth-prd
7474
uses: "google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa"
7575
with:
7676
token_format: "access_token"
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
registry: ${{ env.REGISTRY }}
8585
username: "oauth2accesstoken"
86-
password: "${{ steps.google-auth.outputs.access_token }}"
86+
password: "${{ steps.google-auth-prd.outputs.access_token }}"
8787

8888
- name: "Build and push ${{ matrix.application }} - production"
8989
env:

0 commit comments

Comments
 (0)
Please sign in to comment.