try double substitution
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-07-11 22:52:43 +02:00
parent ada7a01f3c
commit 0c4ab0cf06

View File

@ -21,7 +21,8 @@ local PipelineBuild(os='linux', arch='amd64') = {
username: { from_secret: "docker_username" }, username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" }, password: { from_secret: "docker_password" },
build_args: { build_args: {
TTRSS_VERSION: "${DRONE_TAG##v}", TTRSS_ORG_VERSION: "${DRONE_TAG##v}",
TTRSS_VERSION: "${TTRSS_ORG_VERSION%.*}",
}, },
}, },
}, },
@ -37,7 +38,8 @@ local PipelineBuild(os='linux', arch='amd64') = {
username: { from_secret: "docker_username" }, username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" }, password: { from_secret: "docker_password" },
build_args: { build_args: {
TTRSS_VERSION: "${DRONE_TAG##v}", TTRSS_ORG_VERSION: "${DRONE_TAG##v}",
TTRSS_VERSION: "${TTRSS_ORG_VERSION%.*}",
}, },
}, },
when: { when: {