diff --git a/Jenkinsfile b/Jenkinsfile index 27a483c..d837cfa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,7 +74,7 @@ podTemplate( passwordVariable: 'HARBOR_PASSWORD']]) { sh """ docker login -u "${HARBOR_USER}" -p "${HARBOR_PASSWORD}" ${docker_registry_url} - docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${gitCommit} -f Dockerfile.arg --build-arg JAR_NAME="cicd-${gitCommit}.jar" . + docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${gitCommit} --build-arg JAR_NAME="cicd-${gitCommit}.jar" . docker push ${docker_registry_url}/prototype/cicd-java-spring-boot:${gitCommit} """ }