mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-08 15:02:43 -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:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
|
||||||
- "*.*.*"
|
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
@ -60,7 +58,7 @@ jobs:
|
||||||
images: quay.io/invidious/invidious
|
images: quay.io/invidious/invidious
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
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') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
labels: |
|
labels: |
|
||||||
quay.expires-after=12w
|
quay.expires-after=12w
|
||||||
|
@ -86,7 +84,7 @@ jobs:
|
||||||
suffix=-arm64
|
suffix=-arm64
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
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') }}
|
type=raw,value=latest-arm64,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
labels: |
|
labels: |
|
||||||
quay.expires-after=12w
|
quay.expires-after=12w
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue