From 600c8d4051a14495c5eb0e2ce7bffafcca77f389 Mon Sep 17 00:00:00 2001 From: saadi Date: Mon, 9 Oct 2023 17:13:48 +0200 Subject: [PATCH] Update the artifact repository name to avoid clash with cloud run source deployments --- .github/workflows/cd.yaml | 2 +- .github/workflows/ci.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 1b5dc16..d1458e7 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -25,7 +25,7 @@ jobs: - name: Deploy app to Cloud Run run: | gcloud run deploy my-finance-pal \ - --image=${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/cloud-run-source-deploy/my-finance-pal:${{ github.sha }} \ + --image ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/cloud-run-builds/my-finance-pal:${{ github.sha }} \ --allow-unauthenticated \ --region ${{ secrets.GCP_REGION }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6e3d944..ca51f1a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -50,7 +50,7 @@ jobs: - name: Submit job to Cloud Build run: | gcloud builds submit \ - --region=${{ secrets.GCP_REGION }} \ + --region ${{ secrets.GCP_REGION }} \ --config cloudbuild.yaml \ - --substitutions=_FULL_IMAGE_NAME=${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/cloud-run-source-deploy/my-finance-pal,_IMAGE_TAG=${{ github.sha }} \ + --substitutions=_FULL_IMAGE_NAME=${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/cloud-run-builds/my-finance-pal,_IMAGE_TAG=${{ github.sha }} \ .