Skip to content

Commit 92b4b33

Browse files
committed
fix: Actually tag image
1 parent 298d314 commit 92b4b33

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/deploy-production.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
tags: |
9595
type=sha,prefix=,suffix=
9696
type=raw,value=latest,enable={{is_default_branch}}
97-
type=raw,value=python${{ env.PYTHON_VERSION }},enable={{is_default_branch}}
97+
type=raw,value=python${{ env.PYTHON_VERSION }}-latest,enable={{is_default_branch}}
9898
9999
- name: Build and push Docker image
100100
uses: docker/build-push-action@v5
@@ -142,7 +142,7 @@ jobs:
142142
- name: Deploy to App Engine
143143
env:
144144
IMAGE_NAME: ${{ env.IMAGE_NAME }}
145-
IMAGE_TAG: latest
145+
IMAGE_TAG: python${{ env.PYTHON_VERSION }}-latest
146146
SERVICE_ACCOUNT: github-deployment@policyengine-household-api.iam.gserviceaccount.com
147147
APP_YAML_PATH: ./gcp/policyengine_household_api/app.yaml
148148
AUTH0_ADDRESS_NO_DOMAIN: ${{ secrets.AUTH0_ADDRESS_NO_DOMAIN }}
@@ -156,7 +156,7 @@ jobs:
156156
- name: Set traffic to new version
157157
env:
158158
SERVICE_NAME: ${{ env.SERVICE_NAME }}
159-
VERSION: latest
159+
VERSION: python${{ env.PYTHON_VERSION }}-latest
160160
run: .github/scripts/set-traffic.sh
161161

162162
- name: Verify deployment

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
changed:
4+
- Fixed GCP deploy tag on Artifact Registry image

0 commit comments

Comments
 (0)