From 1857eaca40aa58e6da0300cd94702676bf0e9b19 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 22 Jul 2019 12:19:23 +0200 Subject: [PATCH] test tagging --- .drone.jsonnet | 2 +- .drone.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 9b051f1..efb4361 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -64,7 +64,7 @@ local PipelineNotifications(depends_on=[]) = { pull: "always", settings: { ignore_missing: true, - tags: ["${DRONE_TAG%??}"], + tags: ["${DRONE_TAG}", "${DRONE_TAG%??}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"], username: { from_secret: "docker_username" }, password: { from_secret: "docker_password" }, spec: "./manifest.tmpl", diff --git a/.drone.yml b/.drone.yml index cc6ec7a..610440f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,7 +59,10 @@ steps: from_secret: docker_password spec: ./manifest.tmpl tags: + - "${DRONE_TAG}" - "${DRONE_TAG%??}" + - "${DRONE_TAG%.*}" + - "${DRONE_TAG%%.*}" username: from_secret: docker_username when: @@ -117,6 +120,6 @@ depends_on: --- kind: signature -hmac: 2f0d93b61fa4f5c23476d4e9f0771d5fadfdafa5a2ff577c668cdf43876eb94c +hmac: 0fd78b364519c25794576c753916afb332432bc417d9b2366f4fec4a40b501e0 ...