chore: build docker image on ci.jenkins.io too
This commit is contained in:
parent
e69438deb0
commit
f9d12dcb40
|
@ -26,17 +26,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Containers') {
|
stage('Container') {
|
||||||
when { expression { !infra.isInfra() } }
|
|
||||||
steps {
|
steps {
|
||||||
sh 'make container'
|
buildDockerAndPublishImage('uplink', [unstash: 'build', targetplatforms: 'linux/amd64,linux/arm64', disablePublication: !infra.isInfra()])
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Publish container') {
|
|
||||||
when { expression { infra.isInfra() } }
|
|
||||||
steps {
|
|
||||||
buildDockerAndPublishImage('uplink', [unstash: 'build', targetplatforms: 'linux/amd64,linux/arm64'])
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue