try double substitution
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ada7a01f3c
commit
0c4ab0cf06
@ -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: {
|
||||||
|
Reference in New Issue
Block a user