Skip to content

ci: add Docker build job with SHA-based image tagging#24

Merged
puneeth-grinds merged 8 commits into
mainfrom
feat/gh-actions-shellcheck-lint
Jul 26, 2026
Merged

ci: add Docker build job with SHA-based image tagging#24
puneeth-grinds merged 8 commits into
mainfrom
feat/gh-actions-shellcheck-lint

Conversation

@puneeth-grinds

Copy link
Copy Markdown
Owner

PR Summary

  • Added a build job to the GitHub Actions CI pipeline.
  • Configured the job to run only after both lint and test complete successfully.
  • Built the Docker image inside CI using the full Git commit SHA as the image tag.
  • Added conditional latest tagging for builds running on the main branch.
  • Listed local Docker images after the build to verify the generated tags in the workflow logs.

Why

  • Ensures Docker images are successfully built as part of CI before any publish step.
  • Uses immutable SHA-based tags for traceability and reproducible builds.
  • Prevents the latest tag from being created on feature branches.
  • Provides build visibility by displaying generated image tags in the workflow logs.

@puneeth-grinds puneeth-grinds self-assigned this Jul 26, 2026
@puneeth-grinds puneeth-grinds added the enhancement New feature or request label Jul 26, 2026
@puneeth-grinds
puneeth-grinds merged commit b62756c into main Jul 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant