Skip to content

Commit

Permalink
use creds file path from env
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal-Delange committed Oct 25, 2024
1 parent 2c02643 commit ad155fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Login to artifact registry
run: |
cd kubernetes
gcloud auth activate-service-account ${{vars.SERVICE_ACCOUNT_NAME}} --key-file ${{secrets.GCP_SA_KEY_PRODUCTION}}
cat key.json | helm registry login -u _json_key --password-stdin https://${{vars.ARTIFACT_REGISTRY_HOST_NAME}}
gcloud auth activate-service-account ${{vars.SERVICE_ACCOUNT_NAME}} --key-file $GOOGLE_APPLICATION_CREDENTIALS
cat $GOOGLE_APPLICATION_CREDENTIALS | helm registry login -u _json_key --password-stdin https://${{vars.ARTIFACT_REGISTRY_HOST_NAME}}
- name: Prepare YQ
uses: dcarbone/[email protected]
Expand Down

0 comments on commit ad155fc

Please sign in to comment.