From a3d11f92edf0a9f4ce3f9e5257b99b35564f937c Mon Sep 17 00:00:00 2001 From: Mizuki Date: Mon, 19 Feb 2024 15:18:03 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix(ml):=20workflow=E3=81=AE=E7=9B=A3?= =?UTF-8?q?=E8=A6=96=E5=AF=BE=E8=B1=A1=E3=81=AB=E3=81=AA=E3=82=8B=E3=83=87?= =?UTF-8?q?=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA=E3=81=AE=E6=AD=A3?= =?UTF-8?q?=E3=81=97=E3=81=84=E3=83=91=E3=82=B9=E3=81=8C=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E3=81=A8?= =?UTF-8?q?=E3=81=93=E3=82=8D=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_cloudrun_machine_learning.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy_cloudrun_machine_learning.yml b/.github/workflows/deploy_cloudrun_machine_learning.yml index e2ba527a..69143f1c 100644 --- a/.github/workflows/deploy_cloudrun_machine_learning.yml +++ b/.github/workflows/deploy_cloudrun_machine_learning.yml @@ -4,9 +4,8 @@ on: push: branches: - develop - - feature/machine-learning/cicd paths: - - "machine-learning/**" + - "machine_learning/**" permissions: contents: read From 71c5c5f91cad45bbc2cb886ff6a341b130a47b37 Mon Sep 17 00:00:00 2001 From: Mizuki Date: Mon, 19 Feb 2024 15:24:37 +0900 Subject: [PATCH 2/2] fix --- .github/workflows/deploy-to-gcloud.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-to-gcloud.yml b/.github/workflows/deploy-to-gcloud.yml index 711b654b..b4b43093 100644 --- a/.github/workflows/deploy-to-gcloud.yml +++ b/.github/workflows/deploy-to-gcloud.yml @@ -48,6 +48,9 @@ jobs: --build-arg ML_ADDR="${{ secrets.ML_ADDR }}" \ --build-arg INSIDE_OF_CREDENTIALS="${{ secrets.INSIDE_OF_CREDENTIALS }}" + - name: Configure Docker to use the gcloud command-line tool as a credential helper for the us region + run: gcloud auth configure-docker --quiet + - name: Push Docker Image to Google Container Registry run: | docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_DOCKER_IMAGE_NAME }}:latest