From 9634fe34d9def525847d7578e449478766feebde Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Mon, 13 May 2024 13:07:22 +0200 Subject: [PATCH] Add docker build test (#6) --- .github/workflows/python_ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/python_ci.yaml b/.github/workflows/python_ci.yaml index 7ff906c..2c1bec5 100644 --- a/.github/workflows/python_ci.yaml +++ b/.github/workflows/python_ci.yaml @@ -69,3 +69,13 @@ jobs: run: | poetry run isort --profile black . git diff --exit-code --quiet || exit 1 + + build-image-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. + - name: Build and push Docker image + uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 + with: + push: false