Switch to YYYY.MM.DD-SHA_SHORT

This commit is contained in:
unbelauscht 2023-10-11 08:39:18 +00:00 committed by unbelauscht
parent e17fd61c3e
commit 9d0b26fbc2

View File

@ -58,7 +58,7 @@ jobs:
images: quay.io/invidious/invidious
tags: |
type=sha
type=raw,value={{date 'YYYY.MM.DD'}},enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
labels: |
quay.expires-after=12w
@ -84,8 +84,8 @@ jobs:
suffix=-arm64
tags: |
type=sha
type=raw,value={{date 'YYYY.MM.DD'}},enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest-arm64,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
labels: |
quay.expires-after=12w