From 609b66086860514d569988c5e6ad559ab4f8a3c4 Mon Sep 17 00:00:00 2001 From: bendnorman Date: Fri, 10 Nov 2023 13:25:13 -0900 Subject: [PATCH] Use different auth method --- .github/workflows/deploy-gridle.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-gridle.yml b/.github/workflows/deploy-gridle.yml index 663b807..47e15e1 100644 --- a/.github/workflows/deploy-gridle.yml +++ b/.github/workflows/deploy-gridle.yml @@ -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: |- @@ -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