We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb84af1 commit e194902Copy full SHA for e194902
.github/workflows/publish-docker.yml
@@ -2,6 +2,9 @@ name: Create and publish a Docker image
2
3
# Configures this workflow to run every time a release is published
4
on:
5
+ push:
6
+ branches:
7
+ - main
8
release:
9
types: [published]
10
Dockerfile
@@ -26,7 +26,7 @@ COPY pyproject.toml poetry.lock ./
26
# Because poetry will complain if a README.md is not found, we create a dummy one.
27
RUN touch README.md
28
29
-RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR
+RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR
30
31
# The runtime image, used to run the code
32
FROM python:3.10-slim-buster as runtime
0 commit comments