mirror of https://github.com/waku-org/nwaku.git
fix(ci): fix Docker tag for latest and release jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
2b4ca4d0ff
commit
52759faa03
|
@ -104,12 +104,9 @@ pipeline {
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|
||||||
def getDefaultImageTag() {
|
def getDefaultImageTag() {
|
||||||
if (env.JOB_BASE_NAME) {
|
|
||||||
return env.JOB_BASE_NAME
|
|
||||||
}
|
|
||||||
switch (env.JOB_BASE_NAME) {
|
switch (env.JOB_BASE_NAME) {
|
||||||
case 'docker-latest': return 'latest'
|
case 'docker-latest': return 'latest'
|
||||||
case 'docker-release': return 'stable'
|
case 'docker-release': return 'stable'
|
||||||
default: return ''
|
default: return env.JOB_BASE_NAME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue