Skip to content

Commit be484a8

Browse files
authored
Merge pull request #110 from adrianchiris/change-tag-format-in-release
align image tag format on release
2 parents 0b0fbee + a8a16d4 commit be484a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
flavor: |
4040
latest=false
4141
tags: |
42-
type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }}
42+
type=ref,event=tag
4343
4444
- name: Build and push Docker image
4545
uses: docker/build-push-action@v4
@@ -80,7 +80,7 @@ jobs:
8080
flavor: |
8181
latest=false
8282
tags: |
83-
type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }}
83+
type=ref,event=tag
8484
8585
- name: Build and push Docker image
8686
uses: docker/build-push-action@v4
@@ -121,7 +121,7 @@ jobs:
121121
flavor: |
122122
latest=false
123123
tags: |
124-
type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }}
124+
type=ref,event=tag
125125
126126
- name: Build and push Docker image
127127
uses: docker/build-push-action@v4
@@ -152,7 +152,7 @@ jobs:
152152
flavor: |
153153
latest=false
154154
tags: |
155-
type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }}
155+
type=ref,event=tag
156156
157157
- name: Log in to ghcr.io
158158
uses: docker/login-action@v2

0 commit comments

Comments
 (0)