Skip to content

Add Docker publishing to GitHub Container Registry#819

Closed
nikhilwoodruff wants to merge 1 commit intomainfrom
add-docker-publishing
Closed

Add Docker publishing to GitHub Container Registry#819
nikhilwoodruff wants to merge 1 commit intomainfrom
add-docker-publishing

Conversation

@nikhilwoodruff
Copy link
Copy Markdown
Contributor

This PR adds automated Docker image publishing to GitHub Container Registry (ghcr.io), providing containerised deployment options for the PolicyEngine Household API.

The setup includes a hardened Docker configuration with security best practices, multi-platform builds for both amd64 and arm64 architectures, and automated vulnerability scanning using Trivy. Images are published on pushes to the main branch and on new tags, with proper semantic versioning support.

The Docker image runs as a non-root user, uses Gunicorn for production serving, and includes health checks for container orchestration. Weekly security scans ensure ongoing vulnerability monitoring of the published images.

Set up automated Docker image publishing with GitHub Actions, including multi-platform builds (amd64/arm64), security scanning with Trivy, and SBOM generation. The Docker image follows security best practices with non-root user execution and minimal dependencies.

Co-Authored-By: Claude <noreply@anthropic.com>
@anth-volk
Copy link
Copy Markdown
Collaborator

@nikhilwoodruff We already have a GitHub Action called docker that deploys Docker images.

@anth-volk anth-volk closed this Aug 13, 2025
@anth-volk anth-volk deleted the add-docker-publishing branch August 13, 2025 14:36
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.

2 participants