don't tag beta images with latest #4590

This commit is contained in:
zadam 2024-01-21 23:42:57 +01:00
parent 6e33553146
commit 47fb96faa8

View file

@ -22,6 +22,7 @@ jobs:
zadam/trilium
ghcr.io/zadam/trilium
tags: |
type=raw,value=latest,enable=${{ !endsWith(github.ref, 'beta') }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}-latest
type=match,pattern=(\d+.\d+).\d+\-beta,enable=${{ endsWith(github.ref, 'beta') }},group=1,suffix=-latest