You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository adds a reusable container-image workflow for linting, verifying, publishing, and signing images. It also adds workflow documentation, contribution guidance, issue and pull request templates, and repository automation configuration.
Changes: Container Image Workflow
Layer / File(s)
Summary
Workflow inputs and usage documentation .github/workflows/container-image.yml, README.md
The workflow defines image build inputs and optional Docker Hub secrets. The README documents configuration, permissions, tags, verification, and publishing.
Dockerfile lint and image verification .github/workflows/container-image.yml
The workflow lints the configured Dockerfile, builds images for configured platforms, runs smoke tests, and scans for vulnerabilities.
Image publishing and signing .github/workflows/container-image.yml
On eligible refs, the workflow publishes built images to GHCR with tags, an SBOM, and provenance. It signs the GHCR digest and can mirror and sign it in Docker Hub.
Repository Contribution and Automation Setup
Layer / File(s)
Summary
Contribution and report templates CONTRIBUTING.md, CODE_OF_CONDUCT.md, .github/ISSUE_TEMPLATE/*, .github/PULL_REQUEST_TEMPLATE.md
Contribution guidance and a Code of Conduct are added. Issue and pull request templates define report fields, labels, title prefixes, and contributor checklists.
Repository defaults and workflow checks .gitattributes, .github/CODEOWNERS, .github/dependabot.yml, .github/workflows/lint.yml, LICENSE
The repository sets global LF handling and ownership, configures weekly GitHub Actions dependency updates, and adds actionlint checks for pushes and pull requests to main. The license holder name is updated.
Merge Risk: Moderate · up to dbeb3
The new reusable workflow scans one build of the image but publishes and signs a separate rebuild, so the published image may not be the one that was scanned. Non-semver v* tags fail with an unclear error. The PR template's contributing link is broken. Address or explicitly accept the scan/publish gap before merging.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the Dockerfile line, Then tests each image, platform by platform. It signs the digest, tags it with care, And hops to GHCR through the air. “A tidy workflow!” it says with delight.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable workflow that lints, tests, scans, signs and publishes container images to GHCR with a Docker Hub mirror.