Skip to content

Commit aac70f5

Browse files
Update Dockerfile and unit-test.yml for improved jar handling and qodana version
1 parent 28185ee commit aac70f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Checkout code changes
6868
uses: actions/checkout@v5
6969
with:
70-
ref: ${{ github.event.pull_request.head.sha }}
70+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
7171
fetch-depth: 0
7272

7373
- name: Download coverage report
@@ -77,7 +77,7 @@ jobs:
7777
path: .qodana/code-coverage
7878

7979
- name: Execute analysis
80-
uses: JetBrains/qodana-action@v2024.2
80+
uses: JetBrains/qodana-action@v2025.2
8181
env:
8282
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
8383
with:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ COPY --from=mwader/static-ffmpeg:7.0.2 /ffmpeg /usr/bin/
1515
ENV FFMPEG_PATH=/usr/bin/ffmpeg
1616

1717
COPY --from=builder /app/build/jlink/jre jre
18-
COPY --from=builder /app/build/libs/Stickerify-1.0-all.jar Stickerify.jar
18+
COPY --from=builder /app/build/libs/*-all.jar Stickerify.jar
1919

20-
CMD ["jre/bin/java", "-Dcom.sksamuel.scrimage.webp.binary.dir=/usr/bin/", "-jar", "Stickerify.jar"]
20+
CMD ["jre/bin/java", "-Dcom.sksamuel.scrimage.webp.binary.dir=/usr/bin", "-jar", "Stickerify.jar"]

0 commit comments

Comments
 (0)