Skip to content

Commit

Permalink
fixing docker build 2
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanSST committed Jul 23, 2023
1 parent 77994c2 commit ca91bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ 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 All @@ -37,6 +34,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/arm/v7
push: true
tags: stephanst/chicken-farm:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ FROM eclipse-temurin:17-jdk-jammy

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

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

0 comments on commit ca91bb3

Please sign in to comment.