Skip to content

Commit 777f3a1

Browse files
committed
gcloud auth fix
1 parent e80a91b commit 777f3a1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/workflow-run-docker-rust-build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ jobs:
8282
with:
8383
ref: ${{ env.GIT_SHA }}
8484

85-
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
85+
- name: Authenticate to Google Cloud
86+
id: auth
87+
uses: "google-github-actions/auth@v2"
8688
with:
87-
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
88-
GCP_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
89-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
90-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
91-
AWS_DOCKER_ARTIFACT_REPO: ${{ secrets.AWS_DOCKER_ARTIFACT_REPO }}
92-
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}
89+
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
90+
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
91+
export_environment_variables: false
92+
create_credentials_file: true
9393

9494
- name: Check if docker images already exist
9595
id: check-images

0 commit comments

Comments
 (0)