Skip to content

Commit 29c1ad8

Browse files
authored
Switch to using version tag matching using regex (#3)
this is necessary given the fact that we have chosen the major.minor.patch-local scheme
1 parent 6e0b6dc commit 29c1ad8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ jobs:
4444
uses: docker/metadata-action@v5
4545
with:
4646
images: ghcr.io/${{ github.repository }}
47-
flavor: latest=false
47+
flavor: latest=auto
4848
tags: |
4949
type=ref,event=tag
50-
type=semver,pattern={{major}}
51-
type=semver,pattern={{major}}.{{minor}}
52-
type=semver,pattern={{version}}
50+
type=match,pattern=\d+
51+
type=match,pattern=\d+\.\d+
52+
type=match,pattern=\d+\.\d+\.\d+
53+
type=match,pattern=.*
5354
5455
- name: Retag the pulled image
5556
env:

0 commit comments

Comments
 (0)