Try other commands

This commit is contained in:
Jannis Portmann 2021-12-25 14:37:53 +01:00
parent d9098182d4
commit 750f5df4f3

6
Jenkinsfile vendored
View file

@ -25,9 +25,9 @@ node {
}
stage('Push image') {
docker.withRegistry('https://hub.thisfro.ch', 'git') {
app.push("${env.BUILD_NUMBER}")
app.push("latest")
docker.withRegistry('https://hub.thisfro.ch') {
dockerImage.push("$BUILD_NUMBER")
dockerImage.push('latest')
}
}