From 956ede613df7d20d9ffd9e4913b1d042eb508b34 Mon Sep 17 00:00:00 2001 From: JangAyeon <67853616+JangAyeon@users.noreply.github.com> Date: Mon, 15 Apr 2024 00:57:23 +0900 Subject: [PATCH] push docker image to GCP registery --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bed8837..f360d99 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,5 +25,5 @@ jobs: GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}} run: | gcloud auth configure-docker us-central1-docker.pkg.dev - docker build -f Dockerfile -t us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker/discord-study-docker:$GITHUB_SHA . - docker push us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker/discord-study-docker:$GITHUB_SHA + docker build -f Dockerfile -t us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker/discord-study-docker:latest . + docker push us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker/discord-study-docker:latest