Skip to content

Harden Docker build and publish pipeline#38

Merged
kernelcoffee merged 1 commit into
masterfrom
dev/update_docker
Jul 18, 2026
Merged

Harden Docker build and publish pipeline#38
kernelcoffee merged 1 commit into
masterfrom
dev/update_docker

Conversation

@kernelcoffee

Copy link
Copy Markdown
Owner
  • Add .dockerignore: keeps config/ (live session DB) out of the build context, and stops host node_modules from overwriting the container's npm ci output in the frontend build stage
  • Deps-only venv: uninstall the backend package after dependency install so /app/src is the only copy of the code (site-packages previously shadow-fought with it)
  • Publish workflow now runs the full test suite (via workflow_call) before building and pushing to GHCR; PR docker builds remain covered by test.yml's docker-build job
  • Compose references ghcr.io/kernelcoffee/steamselfgifter:latest so users can pull instead of building (use --build for source builds); drop the deprecated compose version key

- Add .dockerignore: keeps config/ (live session DB) out of the build
  context, and stops host node_modules from overwriting the container's
  npm ci output in the frontend build stage
- Deps-only venv: uninstall the backend package after dependency
  install so /app/src is the only copy of the code (site-packages
  previously shadow-fought with it)
- Publish workflow now runs the full test suite (via workflow_call)
  before building and pushing to GHCR; PR docker builds remain covered
  by test.yml's docker-build job
- Compose references ghcr.io/kernelcoffee/steamselfgifter:latest so
  users can pull instead of building (use --build for source builds);
  drop the deprecated compose version key
@kernelcoffee
kernelcoffee merged commit 7123829 into master Jul 18, 2026
6 checks passed
@kernelcoffee
kernelcoffee deleted the dev/update_docker branch July 18, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant