Skip to content

Commit b19c5ed

Browse files
committed
Fix Docker metadata tags to properly extract version from constructor-v prefix
1 parent 774d16c commit b19c5ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ jobs:
118118
tags: |
119119
type=ref,event=branch
120120
type=ref,event=pr
121-
type=semver,pattern={{version}},prefix=constructor-v
122-
type=semver,pattern={{major}}.{{minor}},prefix=constructor-v
121+
type=match,pattern=constructor-v(.*),group=1
122+
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/constructor-v') }}
123123
124124
- name: Build and push
125125
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)