mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:05:48 +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
|
FROM openjdk:8-jre-alpine3.9
|
||||||
ADD ./target/*.jar /usr/app/petclinic.jar
|
COPY target/*.jar /home/spring-clinic.jar
|
||||||
WORKDIR /usr/app
|
CMD ["java","-jar","/home/spring-clinic.jar"]
|
||||||
|
|
|
@ -50,8 +50,8 @@ pipeline {
|
||||||
docker.withRegistry( 'spring-petclinic:2.4.2', registryCredential ) {
|
docker.withRegistry( 'spring-petclinic:2.4.2', registryCredential ) {
|
||||||
dockerImage.push()
|
dockerImage.push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Artifacts') {
|
stage('Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue