Update build workflow to better handle pre-release tags

This commit is contained in:
DarthSim
2024-10-28 20:56:57 +03:00
parent f3f5ce51c2
commit ce2495ab05

View File

@@ -9,7 +9,7 @@ env:
DOCKER_META_TAGS: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=ref,event=branch,enable=${{ startsWith(github.ref, 'refs/heads/test/') }}
type=semver,pattern=v{{version}}
type=ref,event=tag
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}