File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,26 @@ jobs:
113113 GCP_DOCKER_ARTIFACT_REPO : ${{ env.GCP_DOCKER_ARTIFACT_REPO }}
114114 WAIT_FOR_IMAGE_SECONDS : 1
115115
116+ - name : Setup GCloud
117+ uses : google-github-actions/setup-gcloud@v2
118+ with :
119+ install_components : ' gcloud'
120+
121+ - name : Authenticate to Google Cloud
122+ id : auth
123+ uses : " google-github-actions/auth@v2"
124+ with :
125+ workload_identity_provider : ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
126+ service_account : ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
127+
128+ - name : Configure GCloud
129+ run : |
130+ gcloud config set project aptos-ci
131+
116132 - name : Lock File Check and Lock if not exists
117133 id : check-lock
118134 if : steps.check-images.outcome == 'failure'
119135 run : |
120- gcloud config set account aptos-ci
121136 echo "Checking lock file"
122137 set +e
123138 gcloud storage ls gs://${{ env.GCP_DOCKER_BUILD_LOCK_BUCKET }}/${{ env.GIT_SHA }}.txt
You can’t perform that action at this time.
0 commit comments