Add separate docker manifest file for latest docker images
This commit is contained in:
parent
83f003355d
commit
d8e10e1a58
3 changed files with 22 additions and 5 deletions
|
@ -737,7 +737,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
tags: latest
|
tags: latest
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
spec: docker-manifest.tmpl
|
spec: docker-manifest-latest.tmpl
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
username:
|
username:
|
||||||
|
|
17
docker-manifest-latest.tmpl
Normal file
17
docker-manifest-latest.tmpl
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
image: vikunja/api:latest
|
||||||
|
manifests:
|
||||||
|
-
|
||||||
|
image: vikunja/api:latest-linux-amd64
|
||||||
|
platform:
|
||||||
|
architecture: amd64
|
||||||
|
os: linux
|
||||||
|
-
|
||||||
|
image: vikunja/api:latest-linux-arm64
|
||||||
|
platform:
|
||||||
|
architecture: arm64
|
||||||
|
os: linux
|
||||||
|
-
|
||||||
|
image: vikunja/api:latest-linux-arm
|
||||||
|
platform:
|
||||||
|
architecture: arm
|
||||||
|
os: linux
|
|
@ -1,4 +1,4 @@
|
||||||
image: vikunja/api:{{#if build.tag}}{{#equal build.tag "main"}}latest{{else}}{{trimPrefix "v" build.tag}}{{/equal}}{{else}}latest{{/if}}
|
image: vikunja/api:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
|
@ -7,17 +7,17 @@ tags:
|
||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
-
|
-
|
||||||
image: vikunja/api:{{#if build.tag}}{{#equal build.tag "main"}}{{else}}{{trimPrefix "v" build.tag}}{{/equal}}-{{/if}}linux-amd64
|
image: vikunja/api:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
-
|
-
|
||||||
image: vikunja/api:{{#if build.tag}}{{#equal build.tag "main"}}{{else}}{{trimPrefix "v" build.tag}}{{/equal}}-{{/if}}linux-arm64
|
image: vikunja/api:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
-
|
-
|
||||||
image: vikunja/api:{{#if build.tag}}{{#equal build.tag "main"}}{{else}}{{trimPrefix "v" build.tag}}{{/equal}}-{{/if}}linux-arm
|
image: vikunja/api:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
|
|
Loading…
Reference in a new issue