Skip to content

Add CI workflow for testing, building, and pushing Docker images to GHCR - #4

Merged
notsubash merged 1 commit into
mainfrom
learn/github-ci
Jul 15, 2026
Merged

Add CI workflow for testing, building, and pushing Docker images to GHCR#4
notsubash merged 1 commit into
mainfrom
learn/github-ci

Conversation

@notsubash

Copy link
Copy Markdown
Owner

Summary

  • Introduced a GitHub Actions CI workflow that runs on pull requests and pushes to the main branch.
  • The workflow includes jobs for linting, running unit tests, building Docker images, and pushing them to GitHub Container Registry (GHCR).
  • Implemented caching for Python dependencies and Docker layers to optimize build times.
  • Ensured that the Docker image is only pushed on successful merges to the main branch, maintaining a clean CI process.

- Introduced a GitHub Actions CI workflow that runs on pull requests and pushes to the main branch.
- The workflow includes jobs for linting, running unit tests, building Docker images, and pushing them to GitHub Container Registry (GHCR).
- Implemented caching for Python dependencies and Docker layers to optimize build times.
- Ensured that the Docker image is only pushed on successful merges to the main branch, maintaining a clean CI process.
@notsubash
notsubash merged commit f43c1d0 into main Jul 15, 2026
3 checks passed
@notsubash
notsubash deleted the learn/github-ci branch July 15, 2026 06:39
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