test tagging
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2019-07-22 12:19:23 +02:00
parent aed0d8c433
commit 1857eaca40
2 changed files with 5 additions and 2 deletions

View File

@ -64,7 +64,7 @@ local PipelineNotifications(depends_on=[]) = {
pull: "always", pull: "always",
settings: { settings: {
ignore_missing: true, ignore_missing: true,
tags: ["${DRONE_TAG%??}"], tags: ["${DRONE_TAG}", "${DRONE_TAG%??}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"],
username: { from_secret: "docker_username" }, username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" }, password: { from_secret: "docker_password" },
spec: "./manifest.tmpl", spec: "./manifest.tmpl",

View File

@ -59,7 +59,10 @@ steps:
from_secret: docker_password from_secret: docker_password
spec: ./manifest.tmpl spec: ./manifest.tmpl
tags: tags:
- "${DRONE_TAG}"
- "${DRONE_TAG%??}" - "${DRONE_TAG%??}"
- "${DRONE_TAG%.*}"
- "${DRONE_TAG%%.*}"
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
@ -117,6 +120,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 2f0d93b61fa4f5c23476d4e9f0771d5fadfdafa5a2ff577c668cdf43876eb94c hmac: 0fd78b364519c25794576c753916afb332432bc417d9b2366f4fec4a40b501e0
... ...