Skip to content

Commit d731a2e

Browse files
Feat/dockerfile fix (#52)
* feat: fixing dockerfile deployable jar;
1 parent 9bcbf5d commit d731a2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci-build-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: Upload JAR Artefact
106106
uses: actions/upload-artifact@v4
107107
with:
108-
name: app-jar
108+
name: app.jar
109109
path: build/libs/${{ steps.repo_vars.outputs.artefact_name }}.jar
110110

111111
Build-Docker:
@@ -119,7 +119,7 @@ jobs:
119119
- name: Download JAR Artefact
120120
uses: actions/download-artifact@v4
121121
with:
122-
name: app-jar
122+
name: app.jar
123123
path: build/libs
124124

125125
- name: Set up Docker Buildx

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apt-get update \
1212
&& rm -rf /var/lib/apt/lists/*
1313

1414
# ---- Application files ----
15-
COPY build/libs/service-cp-crime-schedulingandlisting-courtschedule-*.jar /opt/app/app.jar
15+
COPY build/libs/*.jar /opt/app/app.jar
1616
COPY lib/applicationinsights.json /opt/app/
1717

1818
# ---- Permissions ----

0 commit comments

Comments
 (0)