fix(ci): fix Docker tag for latest and release jobs

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-10-31 17:42:53 +01:00
parent 2b4ca4d0ff
commit 52759faa03
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 4 deletions

View File

@ -104,12 +104,9 @@ pipeline {
} // pipeline
def getDefaultImageTag() {
if (env.JOB_BASE_NAME) {
return env.JOB_BASE_NAME
}
switch (env.JOB_BASE_NAME) {
case 'docker-latest': return 'latest'
case 'docker-release': return 'stable'
default: return ''
default: return env.JOB_BASE_NAME
}
}