Build the Dockerfile on pull requests

This commit is contained in:
Maschell 2023-01-06 15:08:40 +01:00
parent 01bcc500ab
commit eea542e424

View File

@ -17,6 +17,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build binary - name: build binary
run: | run: |
docker build . -f Dockerfile -t tmp
docker build . -f Dockerfile.buildlocal -t builder docker build . -f Dockerfile.buildlocal -t builder
docker run --rm -v ${PWD}:/project builder make docker run --rm -v ${PWD}:/project builder make
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master