mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
spring
This commit is contained in:
parent
1fde950ef0
commit
6569847067
2 changed files with 5 additions and 5 deletions
|
@ -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"]
|
||||
|
|
|
@ -50,8 +50,8 @@ pipeline {
|
|||
docker.withRegistry( 'spring-petclinic:2.4.2', registryCredential ) {
|
||||
dockerImage.push()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
stage('Artifacts') {
|
||||
steps {
|
||||
|
|
Loading…
Reference in a new issue