CI: Fix docker container tags (#4883)

Closes issue 4880
This commit is contained in:
Samantaz Fox 2024-08-26 22:48:14 +02:00
commit 5baaedfa39
No known key found for this signature in database
GPG Key ID: F42821059186176E

View File

@ -47,9 +47,11 @@ jobs:
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: quay.io/invidious/invidious images: quay.io/invidious/invidious
flavor: |
latest=false
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} type=raw,value=latest
labels: | labels: |
quay.expires-after=12w quay.expires-after=12w
@ -71,10 +73,11 @@ jobs:
with: with:
images: quay.io/invidious/invidious images: quay.io/invidious/invidious
flavor: | flavor: |
latest=false
suffix=-arm64 suffix=-arm64
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} type=raw,value=latest
labels: | labels: |
quay.expires-after=12w quay.expires-after=12w