Use current date as image tag

This commit is contained in:
unbelauscht 2023-10-11 06:46:55 +00:00 committed by unbelauscht
parent d5026ff258
commit e17fd61c3e

View File

@ -2,8 +2,6 @@ name: Build and release container
on:
push:
tags:
- "*.*.*"
branches:
- "master"
paths-ignore:
@ -60,7 +58,7 @@ jobs:
images: quay.io/invidious/invidious
tags: |
type=sha
type=semver,pattern={{version}}
type=raw,value={{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
@ -86,7 +84,7 @@ jobs:
suffix=-arm64
tags: |
type=sha
type=semver,pattern={{version}}
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') }}
labels: |
quay.expires-after=12w