Switch the :latest docker image tag to contain the latest release instead of the latest unstable

This commit is contained in:
kolaente 2021-09-05 14:39:56 +02:00
parent 90146aea5b
commit 496c38de8e
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 33 additions and 15 deletions

View File

@ -662,7 +662,7 @@ steps:
image: docker:git image: docker:git
commands: commands:
- git fetch --tags - git fetch --tags
- name: docker-arm-latest - name: docker-arm-unstable
image: plugins/docker:linux-arm image: plugins/docker:linux-arm
pull: true pull: true
settings: settings:
@ -671,7 +671,7 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
repo: vikunja/api repo: vikunja/api
tags: latest-linux-arm tags: unstable-linux-arm
depends_on: [ fetch-tags ] depends_on: [ fetch-tags ]
when: when:
ref: ref:
@ -693,7 +693,7 @@ steps:
ref: ref:
- "refs/tags/**" - "refs/tags/**"
- name: docker-arm64-latest - name: docker-arm64-unstable
image: plugins/docker:linux-arm64 image: plugins/docker:linux-arm64
pull: true pull: true
settings: settings:
@ -702,7 +702,7 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
repo: vikunja/api repo: vikunja/api
tags: latest-linux-arm64 tags: unstable-linux-arm64
depends_on: [ fetch-tags ] depends_on: [ fetch-tags ]
when: when:
ref: ref:
@ -746,7 +746,8 @@ steps:
image: docker:git image: docker:git
commands: commands:
- git fetch --tags - git fetch --tags
- name: docker-latest
- name: docker-unstable
image: plugins/docker:linux-amd64 image: plugins/docker:linux-amd64
pull: true pull: true
settings: settings:
@ -755,7 +756,7 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
repo: vikunja/api repo: vikunja/api
tags: latest-linux-amd64 tags: unstable-linux-amd64
depends_on: [ fetch-tags ] depends_on: [ fetch-tags ]
when: when:
ref: ref:
@ -792,13 +793,13 @@ depends_on:
- docker-arm-release - docker-arm-release
steps: steps:
- name: manifest-latest - name: manifest-unstable
pull: always pull: always
image: plugins/manifest image: plugins/manifest
settings: settings:
tags: latest tags: unstable
ignore_missing: true ignore_missing: true
spec: docker-manifest-latest.tmpl spec: docker-manifest-unstable.tmpl
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
@ -807,7 +808,7 @@ steps:
ref: ref:
- refs/heads/main - refs/heads/main
- name: manifest - name: manifest-release
pull: always pull: always
image: plugins/manifest image: plugins/manifest
settings: settings:
@ -822,6 +823,23 @@ steps:
ref: ref:
- "refs/tags/**" - "refs/tags/**"
- name: manifest-release-latest
pull: always
image: plugins/manifest
depends_on:
- clone
settings:
tags: latest
ignore_missing: true
spec: docker-manifest.tmpl
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
ref:
- "refs/tags/**"
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
@ -856,6 +874,6 @@ steps:
- failure - failure
--- ---
kind: signature kind: signature
hmac: 2cee8cac22aae8b4a25ffa28c47d9defc6ce227e0d262b57677f9adbf8badc3e hmac: 110b782e9b704b4b3b3d618678383718c92262cf3c214f4fe6705d40cd3da367
... ...

View File

@ -1,17 +1,17 @@
image: vikunja/api:latest image: vikunja/api:unstable
manifests: manifests:
- -
image: vikunja/api:latest-linux-amd64 image: vikunja/api:unstable-linux-amd64
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
- -
image: vikunja/api:latest-linux-arm64 image: vikunja/api:unstable-linux-arm64
platform: platform:
architecture: arm64 architecture: arm64
os: linux os: linux
- -
image: vikunja/api:latest-linux-arm image: vikunja/api:unstable-linux-arm
platform: platform:
architecture: arm architecture: arm
os: linux os: linux