diff --git a/.github/workflows/ci-build-publish.yml b/.github/workflows/ci-build-publish.yml index db10cb6..71d0b27 100644 --- a/.github/workflows/ci-build-publish.yml +++ b/.github/workflows/ci-build-publish.yml @@ -105,7 +105,7 @@ jobs: - name: Upload JAR Artefact uses: actions/upload-artifact@v4 with: - name: app-jar + name: app.jar path: build/libs/${{ steps.repo_vars.outputs.artefact_name }}.jar Build-Docker: @@ -119,7 +119,7 @@ jobs: - name: Download JAR Artefact uses: actions/download-artifact@v4 with: - name: app-jar + name: app.jar path: build/libs - name: Set up Docker Buildx diff --git a/Dockerfile b/Dockerfile index a781849..5bd8733 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # ---- Application files ---- -COPY build/libs/service-cp-crime-schedulingandlisting-courtschedule-*.jar /opt/app/app.jar +COPY build/libs/*.jar /opt/app/app.jar COPY lib/applicationinsights.json /opt/app/ # ---- Permissions ----