mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-19 23:25:52 -04:00
Use current date as image tag
This commit is contained in:
parent
d5026ff258
commit
e17fd61c3e
6
.github/workflows/container-release.yml
vendored
6
.github/workflows/container-release.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user