fix: something

This commit is contained in:
Aleksandr Chikovani 2023-08-26 22:13:22 -04:00
parent 7044067f2f
commit 43e6e86dc0
2 changed files with 12 additions and 11 deletions

View file

@ -67,7 +67,7 @@ jobs:
uses: rickstaa/action-create-tag@07b918ecbf94359b859f25f7a70553a84e804923 uses: rickstaa/action-create-tag@07b918ecbf94359b859f25f7a70553a84e804923
with: with:
tag: ${{ steps.semantic.outputs.release-version }} tag: ${{ steps.semantic.outputs.release-version }}
message: ${{ steps.semantic.outputs.release-notes }} message: ${{ steps.semantic.outputs.name }}\n${{ steps.semantic.outputs.release-notes }}
outputs: outputs:
version: ${{ steps.semantic.outputs.release-version }} version: ${{ steps.semantic.outputs.release-version }}

View file

@ -1,11 +1,12 @@
FROM eclipse-temurin@sha256:039f727ed86402f37524b5d01a129947e2f061d5856901d07d73a454e689bb13 AS builder FROM eclipse-temurin@sha256:039f727ed86402f37524b5d01a129947e2f061d5856901d07d73a454e689bb13 AS builder
ARG VERSION undefined # speed the things up
ENV VERSION=$VERSION #ARG VERSION undefined
WORKDIR /app #ENV VERSION=$VERSION
COPY . . #WORKDIR /app
RUN ./gradlew build -x test -Pversion=$VERSION #COPY . .
#RUN ./gradlew build -x test -Pversion=$VERSION
FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b #
ENV PORT 8080 #FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b
WORKDIR /app #ENV PORT 8080
COPY --from=builder /app/build/libs/*jar . #WORKDIR /app
#COPY --from=builder /app/build/libs/*jar .