Skip to content

Commit

Permalink
fix: add token format
Browse files Browse the repository at this point in the history
  • Loading branch information
esaminu committed Oct 5, 2023
1 parent 3a05ddc commit a3fbc4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-to-artifact-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
name: Authenticate with Google Cloud
uses: google-github-actions/auth@v1
with:
token_format: access_token
credentials_json: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}

- name: Login to Artifact Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: us-central1-docker.pkg.dev
username: oauth2accesstoken
Expand Down

0 comments on commit a3fbc4e

Please sign in to comment.