This commit is contained in:
Oleg Mykolaishyn 2021-03-26 10:53:52 +02:00
parent 1fde950ef0
commit 6569847067
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
FROM java:8-jdk-alpine
ADD ./target/*.jar /usr/app/petclinic.jar
WORKDIR /usr/app
FROM openjdk:8-jre-alpine3.9
COPY target/*.jar /home/spring-clinic.jar
CMD ["java","-jar","/home/spring-clinic.jar"]

View file

@ -50,8 +50,8 @@ pipeline {
docker.withRegistry( 'spring-petclinic:2.4.2', registryCredential ) {
dockerImage.push()
}
}
}
}
stage('Artifacts') {
steps {