Skip to content

Feat/docker hub publish#7

Merged
kushvinth merged 5 commits into
mainfrom
feat/docker-hub-publish
Apr 5, 2026
Merged

Feat/docker hub publish#7
kushvinth merged 5 commits into
mainfrom
feat/docker-hub-publish

Conversation

@kushvinth

Copy link
Copy Markdown
Owner

This pull request introduces automated workflows for building and publishing Docker images to both Docker Hub and GitHub Container Registry (GHCR), and updates the docker-compose.yml configuration to support these changes. The updates also add flexibility by allowing backend and frontend port configuration via environment variables and improving CORS origin handling.

CI/CD automation:

  • Added .github/workflows/docker-publish.yml to build and push both backend and frontend Docker images to Docker Hub on every push to the main branch.
  • Added .github/workflows/publish-ghrc.yml to build and push both backend and frontend Docker images to GHCR on every push to the main branch.

Docker Compose configuration improvements:

  • Updated docker-compose.yml to use the published Docker images (kushvinth/zell:latest-backend and kushvinth/zell:latest-frontend) instead of only local builds.
  • Made backend and frontend ports configurable using BACKEND_PORT and FRONTEND_PORT environment variables, improving deployment flexibility.
  • Improved CORS_ORIGINS handling to dynamically use the configured frontend port, reducing manual configuration and errors.

@kushvinth kushvinth merged commit 005413d into main Apr 5, 2026
2 checks passed
kushvinth added a commit that referenced this pull request Apr 5, 2026
* fix: docker compose lint

* feat: docker hub ci

* chore: linting

* feat: publish to ghrc
@kushvinth kushvinth deleted the feat/docker-hub-publish branch April 8, 2026 16:38
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