Skip to content

Commit a941fa1

Browse files
committed
Changed the docker gh action to take the version in the form of v1.2.3.4
1 parent 6a78ab0 commit a941fa1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/docker-factly.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
with:
3030
images: factly/iframely
3131
tags: |
32-
type=semver,pattern={{version}}
33-
type=semver,pattern={{major}}.{{minor}}
34-
type=semver,pattern={{major}}
32+
type=ref,event=tag
33+
type=match,pattern=v(.*),group=1
34+
type=match,pattern=v([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+),group=1.2.3
35+
type=match,pattern=v([0-9]+)\.([0-9]+),group=1.2
36+
type=match,pattern=v([0-9]+),group=1
3537
latest
3638
3739
- name: Build and push Docker image

0 commit comments

Comments
 (0)