From 9d0b26fbc2a60f091999c534f609224a433aec77 Mon Sep 17 00:00:00 2001 From: unbelauscht <58393353+unbelauscht@users.noreply.github.com> Date: Wed, 11 Oct 2023 08:39:18 +0000 Subject: [PATCH] Switch to YYYY.MM.DD-SHA_SHORT --- .github/workflows/container-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index f07a00a9..0ed56184 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -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