Skip to content

Commit

Permalink
using staging folder
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanSST committed Jul 23, 2023
1 parent 202a7cd commit e3cdaa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package

- name: Copy artifact
run: mkdir staging && cp target/*.jar staging

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ RUN apt install libtinkerforge-java

EXPOSE 8080
WORKDIR /app
COPY target/*.jar app.jar
COPY staging/*.jar app.jar

ENTRYPOINT ["java","-jar","/app/app.jar"]

0 comments on commit e3cdaa3

Please sign in to comment.