Skip to content

Commit

Permalink
Update the artifact repository name to avoid clash with cloud run sou…
Browse files Browse the repository at this point in the history
…rce deployments
  • Loading branch information
myftija committed Oct 9, 2023
1 parent e11ddc9 commit 600c8d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
.

0 comments on commit 600c8d4

Please sign in to comment.