Skip to content

Commit

Permalink
Test debug build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed Jun 5, 2024
1 parent 6ddafe1 commit ba48c69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: Build dRAGon
run: gradle build -Pversion=$(gradle cV -q -Prelease.quiet)

- name: Remove Plain Jar
run: rm -f backend/build/libs/*plain.jar

- name: Test
run: |
ls -ail backend/
Expand All @@ -63,7 +66,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
- name: Build and push Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ EXPOSE 1984

RUN mkdir /data
RUN chown app:app /data
COPY backend/build/libs/backend-0.0.0.jar /dragon.jar
COPY backend/build/libs/backend*.jar /dragon.jar

USER app
ENTRYPOINT ["java","-Xmx512m", "-XX:+CrashOnOutOfMemoryError","-jar","-Dspring.profiles.active=prod","/dragon.jar"]

0 comments on commit ba48c69

Please sign in to comment.