Publish release if TAG name exists
testing/ogcore-api/pipeline/head There was a failure building this commit Details

pull/13/head
Nicolas Arenas 2024-11-20 14:47:45 +01:00
parent 87d16e9d72
commit 8a512f603f
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -72,6 +72,10 @@ pipeline {
docker.image("${DOCKER_IDENTITY}").push("latest")
docker.image("${DOCKER_IDENTITY_NGINX}").push("latest")
}
if (env.TAG_NAME) {
docker.image("${DOCKER_IDENTITY}").push("${env.TAG_NAME}")
docker.image("${DOCKER_IDENTITY_NGINX}").push("${env.TAG_NAME}")
}
}
}
}