Skip to content

Commit

Permalink
Fixes #374 - Publish container image to GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Oct 19, 2024
1 parent 3e25e28 commit ceee026
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
java-version: 21
- name: Build with Maven
run: mvn -B --ntp package
docker:
ghcr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</dependency>
</dependencies>
<build>
<finalName>rest</finalName>
<finalName>sphynx</finalName>
<plugins>
<plugin>
<groupId>cloud.piranha.maven</groupId>
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ghcr.io/piranhacloud/webprofile:24.7.0
COPY target/rest.war ROOT.war
COPY target/sphynx.war ROOT.war
USER root
RUN chown -R piranha:piranha /home/piranha
USER piranha
Expand Down

0 comments on commit ceee026

Please sign in to comment.