Skip to content

add GitHub Actions workflow for Docker image build and GHCR push#27

Merged
shubham3121 merged 11 commits intomainfrom
feat/docker-ghcr-workflow
Jan 20, 2026
Merged

add GitHub Actions workflow for Docker image build and GHCR push#27
shubham3121 merged 11 commits intomainfrom
feat/docker-ghcr-workflow

Conversation

@shubham3121
Copy link
Member

This pull request introduces a new GitHub Actions workflow to automate building and publishing Docker images for the project. The workflow is triggered on pushes to the main branch and via manual dispatch, and it builds the frontend before creating and pushing the Docker image to GitHub Container Registry.

CI/CD automation:

  • Added .github/workflows/docker-publish.yml to automate building and publishing Docker images on pushes to main and via workflow dispatch.

Frontend build integration:

  • Installs frontend dependencies and builds the frontend using Bun before building the Docker image.

Docker image publishing:

  • Uses Docker Buildx to build and push images, tagging them with both the short commit SHA and latest, and applies OCI labels for source and revision metadata.
  • Implements build caching and passes a PYTHON_VERSION build argument for reproducible builds.

@shubham3121 shubham3121 merged commit 2c6cc69 into main Jan 20, 2026
2 checks passed
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