try double substitution
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-07-11 22:52:43 +02:00
parent ada7a01f3c
commit 0c4ab0cf06
1 changed files with 4 additions and 2 deletions

View File

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