mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
fix: something
This commit is contained in:
parent
7044067f2f
commit
43e6e86dc0
2 changed files with 12 additions and 11 deletions
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
uses: rickstaa/action-create-tag@07b918ecbf94359b859f25f7a70553a84e804923
|
||||
with:
|
||||
tag: ${{ steps.semantic.outputs.release-version }}
|
||||
message: ${{ steps.semantic.outputs.release-notes }}
|
||||
message: ${{ steps.semantic.outputs.name }}\n${{ steps.semantic.outputs.release-notes }}
|
||||
|
||||
outputs:
|
||||
version: ${{ steps.semantic.outputs.release-version }}
|
||||
|
|
21
Dockerfile
21
Dockerfile
|
@ -1,11 +1,12 @@
|
|||
FROM eclipse-temurin@sha256:039f727ed86402f37524b5d01a129947e2f061d5856901d07d73a454e689bb13 AS builder
|
||||
ARG VERSION undefined
|
||||
ENV VERSION=$VERSION
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN ./gradlew build -x test -Pversion=$VERSION
|
||||
|
||||
FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b
|
||||
ENV PORT 8080
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/build/libs/*jar .
|
||||
# speed the things up
|
||||
#ARG VERSION undefined
|
||||
#ENV VERSION=$VERSION
|
||||
#WORKDIR /app
|
||||
#COPY . .
|
||||
#RUN ./gradlew build -x test -Pversion=$VERSION
|
||||
#
|
||||
#FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b
|
||||
#ENV PORT 8080
|
||||
#WORKDIR /app
|
||||
#COPY --from=builder /app/build/libs/*jar .
|
||||
|
|
Loading…
Reference in a new issue