Skip to content
Snippets Groups Projects
Commit deee35b6 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1784 jenkinsfile

parent 0344c777
No related branches found
No related tags found
No related merge requests found
......@@ -273,12 +273,12 @@ pipeline {
sh 'docker login docker.ozg-sh.de -u ${USER} -p ${PASSWORD}'
if (env.BRANCH_NAME == 'release') {
sh 'docker tag docker.ozg-sh.de/goofy:${IMAGE_TAG} docker.ozg-sh.de/goofy:latest'
sh "docker tag docker.ozg-sh.de/goofy:${IMAGE_TAG} docker.ozg-sh.de/goofy:latest"
sh 'docker push docker.ozg-sh.de/goofy:latest'
}
if (env.BRANCH_NAME == 'master') {
sh 'docker tag docker.ozg-sh.de/goofy:${IMAGE_TAG} docker.ozg-sh.de/goofy:snapshot-latest'
sh "docker tag docker.ozg-sh.de/goofy:${IMAGE_TAG} docker.ozg-sh.de/goofy:snapshot-latest"
sh 'docker push docker.ozg-sh.de/goofy:snapshot-latest'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment