Skip to content

Commit

Permalink
Merge pull request #76 from near/push-to-artifact-registry
Browse files Browse the repository at this point in the history
fix: add token format
  • Loading branch information
esaminu authored Oct 5, 2023
2 parents 00eaefc + a3fbc4e commit 77535d4
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 77535d4

Please sign in to comment.