mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-13 11:52:13 -04:00
Use current date as image tag
This commit is contained in:
parent
d5026ff258
commit
e17fd61c3e
1 changed files with 2 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue