diff --git a/.github/workflows/petclinic.yaml b/.github/workflows/petclinic.yaml index d5e8f11b2..5fb327e04 100644 --- a/.github/workflows/petclinic.yaml +++ b/.github/workflows/petclinic.yaml @@ -23,6 +23,7 @@ jobs: with: name: petclinic-build path: target/ + Test-Petclinic: runs-on: ubuntu-latest needs: [ Build-Petclinic ] @@ -39,3 +40,14 @@ jobs: name: petclinic-build path: target/ - run: mvn test + + Dockerize-Petclinic: + runs-on: ubuntu-latest + needs: [ Build-Petclinic ] + steps: + - name: Set up Docker + uses: docker/build-push-action@v2 + with: + push: false + tags: my_container:latest + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..27736d9dc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:8 + +ADD target /src + +CMD [ "/usr/bin/find", "/" ] \ No newline at end of file