Skip to content

Commit d4c9aec

Browse files
committed
ci(docker): rebuild on pyproject.toml changes
app/__init__.py reads __version__ from importlib.metadata, which means the version baked into the image only refreshes when the build runs against a checkout where pyproject.toml has the new version. Bumping the version alone wasn't triggering this workflow, so the :edge image kept reporting the previous version until an unrelated source change finally rebuilt it. Adding pyproject.toml to the watched paths closes that gap.
1 parent ce9dc95 commit d4c9aec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- "static/**"
1212
- "templates/**"
1313
- "app/**"
14+
- "pyproject.toml"
1415
- ".github/workflows/docker.yml"
1516
tags:
1617
- "v*.*.*"

0 commit comments

Comments
 (0)