From b7ec975384d46e02f06619bd8723f5ae56600136 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 5 Sep 2021 14:40:14 +0200 Subject: [PATCH] Change building latest docker image --- .drone.yml | 17 +++++++++++++++++ docker-manifest.tmpl | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ce38bf4b1..8599f574b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/docker-manifest.tmpl b/docker-manifest.tmpl index 9f9a8177b..d12a95525 100644 --- a/docker-manifest.tmpl +++ b/docker-manifest.tmpl @@ -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}}