Skip to content

Commit

Permalink
Fix builds, fixes #23 fixes #24 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer authored Dec 3, 2022
1 parent 1e4f63c commit 2a1b803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
context: .
platforms: linux/amd64
push: true
target: jodconverter-gui
target: gui
tags: |
${{ env.IMAGE_FQDN }}:gui
${{ env.IMAGE_FQDN }}:gui-${{ github.ref_name }}
Expand All @@ -50,7 +50,7 @@ jobs:
context: .
platforms: linux/amd64
push: true
target: jodconverter-rest
target: rest
tags: |
${{ env.IMAGE_FQDN }}:rest
${{ env.IMAGE_FQDN }}:rest-${{ github.ref_name }}
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build:
docker build --target rest . -t ghcr.io/eugenmayer/jodconverter:rest

start-gui: stop
docker run --name jodconverter-spring -m 512m --rm -p 8080:8080 eugenmayer/jodconverter:gui
docker run --name jodconverter-spring -m 512m --rm -p 8080:8080 ghcr.io/eugenmayer/jodconverter:gui

start-rest: stop
docker run --name jodconverter-rest -m 512m --rm -p 8080:8080 eugenmayer/jodconverter:rest
docker run --name jodconverter-rest -m 512m --rm -p 8080:8080 ghcr.io/eugenmayer/jodconverter:rest

stop:
docker stop --name jodconverter-rest > /dev/null 2>&1 || true
Expand Down

0 comments on commit 2a1b803

Please sign in to comment.