diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3cdd76a..22600f8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,4 +1,4 @@ -name: python +name: Test and Build on: [push, pull_request] @@ -20,3 +20,12 @@ jobs: pip install tox tox-gh-actions - name: Test with tox run: tox + + build: + needs: tox + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + working-directory: ./docker + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)