From e8d7ea85861903918a9ee894838feb20076091f9 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 12 Feb 2021 20:02:51 +0100 Subject: [PATCH] Work around auto tag for main branch --- .drone.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7e77f558d..94aae6080 100644 --- a/.drone.yml +++ b/.drone.yml @@ -118,7 +118,7 @@ steps: source: cypress/screenshots/**/**/* strip_prefix: cypress/screenshots/ target: /${DRONE_REPO}/${DRONE_PULL_REQUEST}_${DRONE_BRANCH}/${DRONE_BUILD_NUMBER}/ - depends_on: + depends_on: - test-frontend when: status: @@ -328,8 +328,7 @@ steps: password: from_secret: docker_password repo: vikunja/frontend - auto_tag: true - auto_tag_suffix: linux-arm + tags: latest-linux-arm build_args: - USE_RELEASE=true - RELEASE_VERSION=unstable @@ -368,8 +367,7 @@ steps: password: from_secret: docker_password repo: vikunja/frontend - auto_tag: true - auto_tag_suffix: linux-arm64 + tags: latest-linux-arm64 build_args: - USE_RELEASE=true - RELEASE_VERSION=unstable @@ -427,8 +425,7 @@ steps: password: from_secret: docker_password repo: vikunja/frontend - auto_tag: true - auto_tag_suffix: linux-amd64 + tags: latest-linux-amd64 build_args: - USE_RELEASE=true - RELEASE_VERSION=unstable @@ -469,6 +466,20 @@ depends_on: - docker-arm-release steps: + - name: manifest + pull: always + image: plugins/manifest + settings: + tags: latest + spec: docker-manifest.tmpl + password: + from_secret: docker_password + username: + from_secret: docker_username + when: + ref: + - refs/heads/main + - name: manifest pull: always image: plugins/manifest @@ -480,6 +491,9 @@ steps: from_secret: docker_password username: from_secret: docker_username + when: + ref: + - "refs/tags/**" --- kind: pipeline