[10.07.20] Moved building of image to build step
This commit is contained in:
parent
0c9025e564
commit
8899f7138e
@ -63,10 +63,6 @@ try {
|
||||
env.APPLICATION_VERSION,
|
||||
env.APPLICATION_LABEL)
|
||||
|
||||
}
|
||||
|
||||
stage('Tag Repository') {
|
||||
|
||||
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
||||
docker.build("${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}")
|
||||
docker.build("${env.APPLICATION_NAME}:latest")
|
||||
@ -78,6 +74,11 @@ try {
|
||||
sh "docker push ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
stage('Tag Repository') {
|
||||
|
||||
|
||||
withCredentials(
|
||||
[usernamePassword(
|
||||
credentialsId: env.GITHUB_CREDENTIALS_ID,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user