Skip to content

Commit b966fe2

Browse files
committed
🔧 Update tag form in action
1 parent 69b3dd6 commit b966fe2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Push Docker Image
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
6+
- 'weburbs_v*.*.*'
77

88
jobs:
99
buildOptimizer:
@@ -16,12 +16,12 @@ jobs:
1616
with:
1717
# list of Docker images to use as base name for tags
1818
images: |
19-
ghcr.io/${{ github.repository }}
19+
ghcr.io/${{ github.repository }}-weburbs
2020
# generate Docker tags based on the following events/attributes
2121
tags: |
22-
type=semver,pattern={{version}}
23-
type=semver,pattern={{major}}.{{minor}}
24-
type=semver,pattern={{major}}
22+
type=match,pattern=weburbs_v(\d),group=1
23+
type=match,pattern=weburbs_v(\d.\d),group=1
24+
type=match,pattern=weburbs_v(\d.\d.\d),group=1
2525
2626
- name: Checkout code
2727
uses: actions/checkout@v4

0 commit comments

Comments
 (0)