tag latest
This commit is contained in:
parent
96f7e29ba7
commit
03c2ece9a2
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -81,6 +81,7 @@ pipeline {
|
|||||||
{
|
{
|
||||||
if("${env.BRANCH_NAME}" != "develop")
|
if("${env.BRANCH_NAME}" != "develop")
|
||||||
{
|
{
|
||||||
|
sh "docker tag ${env.DOCKER_REGISTRY}/${env.SERVICE}:${env.VERSION} ${env.DOCKER_REGISTRY}/${env.SERVICE}:latest"
|
||||||
sh "docker push ${env.DOCKER_REGISTRY}/${env.SERVICE}:latest"
|
sh "docker push ${env.DOCKER_REGISTRY}/${env.SERVICE}:latest"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user