Skip to content

Commit

Permalink
Github Actions: build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
afk11 committed Jan 21, 2022
1 parent d81081e commit f94dc0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:

- name: Package project
run: mvn -U clean test package

- name: Build Docker image
run: docker build . -t paymenthubee.mifos.io/phee/connector-mojaloop-java
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:13
EXPOSE 5000

COPY target/*.jar .
COPY build/libs/*.jar .
CMD java -jar *.jar

0 comments on commit f94dc0d

Please sign in to comment.