Skip to content

Commit

Permalink
new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoncl committed Feb 8, 2024
1 parent 5e76ece commit a540dee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ jobs:
- name: Authenticate with Google Cloud and get access token
run: |
echo '${{ secrets.ARTIFACT_REGISTRY_KEY_DEV }}' > key.json
gcloud auth activate-service-account --key-file=key.json
echo '${{ secrets.ARTIFACT_REGISTRY_KEY_DEV }}' | gcloud auth activate-service-account --key-file=-
ACCESS_TOKEN=$(gcloud auth print-access-token)
echo "ACCESS_TOKEN=${ACCESS_TOKEN}" >> $GITHUB_ENV
rm key.json # Clean up
- name: Publish package to Artifact Registry
run: |
Expand Down

0 comments on commit a540dee

Please sign in to comment.