Update the artifact repository name to avoid clash with cloud run source deployments

This commit is contained in:
saadi 2023-10-09 17:13:48 +02:00
parent e11ddc9b44
commit 600c8d4051
2 changed files with 3 additions and 3 deletions

View file

@ -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 }}

View file

@ -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 }} \
.