Skip to content

Commit

Permalink
add build label instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Aug 14, 2024
1 parent 3d5c6eb commit 4620113
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
with:
context: .
push: true
tags: ${{ env.CONTAINER_IMAGE }}:${{ env.SHA_SHORT }},${{ env.CONTAINER_IMAGE }}:latest
labels: build=${{ env.SHA_SHORT }}
tags: ${{ env.CONTAINER_IMAGE }}:latest

- uses: google-github-actions/auth@v2
with:
Expand All @@ -91,7 +92,7 @@ jobs:
- name: Deploy to Cloud Run
run: |
gcloud run deploy ${{ env.SERVICE_NAME }} \
--image ${{ env.CONTAINER_IMAGE }}:${{ env.SHA_SHORT }} \
--image ${{ env.CONTAINER_IMAGE }}:latest \
--region ${{ env.REGION }} \
--cpu ${{ env.CPU }} \
--memory ${{ env.MEMORY }} \
Expand Down

0 comments on commit 4620113

Please sign in to comment.