Compare commits
No commits in common. "14d83d24b418f0e5d7a1172f1c969e6267b03769" and "9b8fcaad9ad0ba3f250cb6e49ee9ce8573db6785" have entirely different histories.
14d83d24b4
...
9b8fcaad9a
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -98,17 +98,6 @@ pipeline {
|
|||||||
--push \
|
--push \
|
||||||
.""",
|
.""",
|
||||||
label: 'Build Docker image'
|
label: 'Build Docker image'
|
||||||
|
|
||||||
if (env.BRANCH_NAME == 'master') {
|
|
||||||
if (env.VERSION ==~ '-\\d+-g[a-f0-9]{7}') {
|
|
||||||
env.FIXED_VERSION = 'dev'
|
|
||||||
} else {
|
|
||||||
env.FIXED_VERSION = 'stable'
|
|
||||||
}
|
|
||||||
sh script: """docker buildx imagetools create \
|
|
||||||
-t git.esoko.eu/esoko/rvr:${env.FIXED_VERSION} \
|
|
||||||
git.esoko.eu/esoko/rvr:${env.VERSION}"""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user