Change building latest docker image

This commit is contained in:
kolaente 2021-09-05 14:40:14 +02:00
parent 75174c2496
commit b7ec975384
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 17 additions and 1 deletions

View file

@ -516,6 +516,23 @@ steps:
when:
ref:
- "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

View file

@ -1,7 +1,6 @@
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
- latest
{{#each build.tags}}
- {{this}}
{{/each}}