Skip to content

Commit

Permalink
Use different auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
bendnorman committed Nov 10, 2023
1 parent bcc9636 commit 609b660
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy-gridle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
with:
credentials_json: "${{ secrets.GOOGLE_CREDENTIALS }}"

# This example uses the docker login action
- uses: "docker/login-action@v1"
with:
registry: "us-central1-docker.pkg.dev" # or REGION-docker.pkg.dev
username: "oauth2accesstoken"
password: "${{ steps.auth.outputs.access_token }}"
# # This example uses the docker login action
# - uses: "docker/login-action@v1"
# with:
# registry: "us-central1-docker.pkg.dev" # or REGION-docker.pkg.dev
# username: "oauth2accesstoken"
# password: "${{ steps.auth.outputs.access_token }}"

# This example runs "docker login" directly to Artifact Registry.
- run: |-
Expand All @@ -33,4 +33,5 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
file: ./gridle_game/Dockerfile
tags: us-central1-docker.pkg.dev/geography-games/gridle-repo/gridle:latest

0 comments on commit 609b660

Please sign in to comment.