test with 'context: .' for build

This commit is contained in:
Bengt Giger 2020-12-13 19:40:27 +01:00
parent 7a65d80ebd
commit c1b8ea60ee
2 changed files with 2 additions and 4 deletions

View file

@ -48,12 +48,12 @@ jobs:
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
name: Package name: Package
path: target/
- -
name: Build and push name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: .
file: ./docker/demo/Dockerfile file: ./docker/demo/Dockerfile
push: true push: true
tags: bengig/seb-server:latest tags: bengig/seb-server:latest

View file

@ -5,9 +5,7 @@ ENV SERVER_PORT="8080"
ENV JMX_PORT="9090" ENV JMX_PORT="9090"
ENV SERVER_PWD= ENV SERVER_PWD=
COPY target/seb-server-auto.jar /sebserver/seb-server-auto.jar COPY seb-server-$SEBSERVER_JAR.jar /sebserver/seb-server-$SEBSERVER_JAR.jar
WORKDIR /sebserver
ENTRYPOINT exec java \ ENTRYPOINT exec java \
-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote \