diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 42c88bc..0873c09 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -2,6 +2,9 @@ name: Create and publish a Docker image # Configures this workflow to run every time a release is published on: + push: + branches: + - main release: types: [published] diff --git a/Dockerfile b/Dockerfile index 8bf0fe7..364322e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ COPY pyproject.toml poetry.lock ./ # Because poetry will complain if a README.md is not found, we create a dummy one. RUN touch README.md -RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR +RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR # The runtime image, used to run the code FROM python:3.10-slim-buster as runtime