Skip to content

Commit

Permalink
ci: push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
davisilvarafacho authored Dec 12, 2024
1 parent 01057cb commit 1a5dfa5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,8 @@ pipeline {
}

stage ('Push Image') {
steps {
script {
docker.withRegistry("https://registry.hub.docker.com", 'dockerhub') {
dockerapp.push('latest')
dockerapp.push("${env.BUILD_ID}")
}
}
}
dockerapp.push('latest')
dockerapp.push("${env.BUILD_ID}")
}
}
}

0 comments on commit 1a5dfa5

Please sign in to comment.