Skip to content

Commit 5958172

Browse files
committed
Github actions tweak
1 parent e90ef7a commit 5958172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
images: cyberpearuk/nginx-proxy
3030
tags: |
31-
type=semver,event=tag,pattern={{version}}
31+
type=raw,event=tag,value=${{ env.TAG }}
3232
type=raw,event=branch,value=latest,enable={{is_default_branch}}
3333
- name: Build and push main image
3434
uses: docker/build-push-action@v2
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
images: cyberpearuk/nginx
4848
tags:
49-
type=semver,event=tag,pattern={{version}}
49+
type=raw,event=tag,value=${{ env.TAG }}
5050
type=raw,event=branch,value=latest,enable={{is_default_branch}}
5151
- name: Build and push nginx only image
5252
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)