mirror of
https://gitea.massivebox.net/massivebox/ecodash.git
synced 2025-01-15 21:27:31 +01:00
Work around Jenkins'BS
This commit is contained in:
parent
d5d6aa4d08
commit
75423645ff
6
jenkins/Jenkinsfile
vendored
6
jenkins/Jenkinsfile
vendored
@ -59,8 +59,10 @@ pipeline {
|
||||
stage('Build and push container on tag') {
|
||||
when { buildingTag() }
|
||||
steps {
|
||||
def formattedTag = env.TAG_NAME.replaceFirst(/^v/, '')
|
||||
sh 'docker buildx build --platform linux/amd64,linux/arm64 --push -t $DOCKER_REGISTRY/$SERVICE:$formattedTag .'
|
||||
script {
|
||||
def formattedTag = env.TAG_NAME.replaceFirst(/^v/, '')
|
||||
sh 'docker buildx build --platform linux/amd64,linux/arm64 --push -t $DOCKER_REGISTRY/$SERVICE:$formattedTag .'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user