Skip to content

Commit 4ba615b

Browse files
[CI/Build] Add stable version tags to Docker images during release (#801)
Tag Docker images with stable semantic versions (e.g., v0.1.9) from the Helm chart version during scheduled releases. This allows users to reference stable version tags in production instead of only dev versions. Fixes #787 Signed-off-by: ardecode <desaiarijit@gmail.com> Co-authored-by: Rui Zhang <51696593+zerofishnoodles@users.noreply.github.com>
1 parent 0b8fd98 commit 4ba615b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/scheduled-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,11 @@ jobs:
219219
push: true
220220
tags: |
221221
ghcr.io/${{ github.repository }}/router:latest
222+
ghcr.io/${{ github.repository }}/router:v${{ needs.prepare-release.outputs.new_version }}
222223
ghcr.io/${{ github.repository }}/router:${{ env.version }}
223224
ghcr.io/${{ github.repository }}/router:${{ github.sha }}
224225
lmcache/lmstack-router:latest
226+
lmcache/lmstack-router:v${{ needs.prepare-release.outputs.new_version }}
225227
lmcache/lmstack-router:${{ env.version }}
226228
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/router:buildcache
227229
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}/router:buildcache,mode=max

0 commit comments

Comments
 (0)