Skip to content

Commit 60b2541

Browse files
Refactor Dockerfile and workflow to include version pattern for release branches
1 parent d0de98f commit 60b2541

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish_image.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ jobs:
3737
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3838
tags: |
3939
type=ref,event=branch,pattern=release/v(?<version>\d+\.\d+\.\d+),group=version
40-
type=ref,event=branch,pattern=release/latest,group=latest
41-
40+
type=ref,event=branch,pattern=release/v(?<version>latest),group=version
4241
4342
- name: Build and push Docker image
4443
id: push

0 commit comments

Comments
 (0)