updated Jenkinsfile
nclazz/static-webserver-docker/pipeline/head There was a failure building this commit Details

master
Niclas Thobaben 2022-02-08 10:43:19 +01:00
parent 6c9388a58a
commit cbf9e16fe9
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -11,7 +11,7 @@ pipeline {
steps {
script {
docker.withRegistry("https://$DOCKER_REGISTRY", "jenkins_nexus") {
sh 'docker build --tag $DOCKER_IMAGE_NAME'
sh 'docker build --tag $DOCKER_IMAGE_NAME .'
sh 'docker push $DOCKER_REGISTRY/$DOCKER_IMAGE_NAME'
sh 'docker rmi $(docker images --filter "dangling=true" -q --no-trunc)'
}