From 0d8f45f344c06a15d652b3e35dce63705e7f35bd Mon Sep 17 00:00:00 2001 From: takumi Date: Sat, 30 Dec 2023 13:13:59 +0900 Subject: [PATCH] =?UTF-8?q?feature:=20configure=20docker=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-gcp.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-gcp.yml b/.github/workflows/deploy-gcp.yml index 60356b7..d475213 100644 --- a/.github/workflows/deploy-gcp.yml +++ b/.github/workflows/deploy-gcp.yml @@ -39,6 +39,9 @@ jobs: workload_identity_provider: "projects/${{ secrets.GCP_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/github-actions-oidc/providers/github-actions-oidc-provider" service_account: ${{ secrets.GCP_SA_EMAIL }} + - name: Configure Docker + run: gcloud auth configure-docker asia-northeast1-docker.pkg.dev + - name: Build image run: docker image build -t asia-northeast1-docker.pkg.dev/${{ env.GCP_PROJECT_ID }}/devlocator-app/devlocator:latest --target production --platform linux/amd64 -f docker/golang/Dockerfile .