Skip to content

Commit

Permalink
modifying docker image action, forgot that I renamed dev group to dev…
Browse files Browse the repository at this point in the history
…elopment
  • Loading branch information
JudithBernett committed Nov 21, 2024
1 parent bb84af1 commit e194902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 32 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
Expand Down

0 comments on commit e194902

Please sign in to comment.