Repository navigation
ci: publish the signed image and Helm chart on each release - #8
Conversation
On every v* release tag, build the container image with ko (linux/amd64 and linux/arm64, on the non-root Chainguard static base the chart's security context expects) and push it to ghcr.io/devantler-tech/bookkeeper. Then pin that exact digest in the chart's values, package the chart with the release version, and push it to oci://ghcr.io/devantler-tech/charts. Both are signed keylessly with cosign and verified against this workflow's identity before the run succeeds. Only the workflow's own GITHUB_TOKEN is used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai review |
Action performed
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Max errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 7 | 0 | 0 | 0.18s | ||
| ✅ ACTION | zizmor | 7 | 0 | 0 | 0 | 1.24s | |
| ✅ BASH | bash-exec | 4 | 0 | 0 | 0.04s | ||
| ✅ BASH | shellcheck | 4 | 0 | 0 | 0.29s | ||
| ✅ BASH | shfmt | 4 | 0 | 0 | 0 | 0.05s | |
| ✅ COPYPASTE | jscpd | yes | no | no | 0.87s | ||
| ✅ EDITORCONFIG | editorconfig-checker | 53 | 0 | 0 | 0.11s | ||
| ✅ JSON | jsonlint | 2 | 0 | 0 | 0.17s | ||
| ✅ JSON | prettier | 2 | 0 | 0 | 0 | 0.9s | |
| ✅ JSON | v8r | 2 | 0 | 0 | 2.21s | ||
| markdownlint | 6 | 0 | 3 | 0 | 1.24s | ||
| ✅ MARKDOWN | markdown-table-formatter | 6 | 0 | 0 | 0 | 0.37s | |
| ✅ REPOSITORY | betterleaks | yes | no | no | 1.49s | ||
| ✅ REPOSITORY | checkov | yes | no | no | 23.74s | ||
| ✅ REPOSITORY | git_diff | yes | no | no | 0.02s | ||
| ✅ REPOSITORY | grype | yes | no | no | 90.41s | ||
| ✅ REPOSITORY | osv-scanner | yes | no | no | 0.31s | ||
| ✅ REPOSITORY | secretlint | yes | no | no | 1.4s | ||
| ✅ REPOSITORY | syft | yes | no | no | 5.69s | ||
| ✅ REPOSITORY | trivy | yes | no | no | 15.53s | ||
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.28s | ||
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.22s | ||
| ✅ SPELL | lychee | 27 | 0 | 0 | 0.87s | ||
| ✅ YAML | prettier | 16 | 0 | 0 | 0 | 0.97s | |
| ✅ YAML | v8r | 18 | 0 | 0 | 8.49s | ||
| ✅ YAML | yamllint | 16 | 0 | 0 | 0.97s |
Detailed Issues
⚠️ MARKDOWN / markdownlint - 3 errors
AGENTS.md:25:401 error MD013/line-length Line length [Expected: 400; Actual: 451]
CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
GEMINI.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
Build the workflow and repository URLs from GITHUB_SERVER_URL, so lychee finds no variable-shaped link, and list the Actions OIDC issuer, which cosign verifies against and which is no web page, in .lycheeignore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action performed
|
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Max errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 7 | 0 | 0 | 0.16s | ||
| ✅ ACTION | zizmor | 7 | 0 | 0 | 0 | 1.11s | |
| ✅ BASH | bash-exec | 4 | 0 | 0 | 0.05s | ||
| ✅ BASH | shellcheck | 4 | 0 | 0 | 0.43s | ||
| ✅ BASH | shfmt | 4 | 0 | 0 | 0 | 0.05s | |
| ✅ COPYPASTE | jscpd | yes | no | no | 0.9s | ||
| ✅ EDITORCONFIG | editorconfig-checker | 53 | 0 | 0 | 0.1s | ||
| ✅ JSON | jsonlint | 2 | 0 | 0 | 0.24s | ||
| ✅ JSON | prettier | 2 | 0 | 0 | 0 | 0.63s | |
| ✅ JSON | v8r | 2 | 0 | 0 | 4.04s | ||
| markdownlint | 6 | 0 | 3 | 0 | 1.16s | ||
| ✅ MARKDOWN | markdown-table-formatter | 6 | 0 | 0 | 0 | 0.31s | |
| ✅ REPOSITORY | betterleaks | yes | no | no | 1.49s | ||
| ✅ REPOSITORY | checkov | yes | no | no | 23.83s | ||
| ✅ REPOSITORY | git_diff | yes | no | no | 0.03s | ||
| ✅ REPOSITORY | grype | yes | no | no | 91.82s | ||
| ✅ REPOSITORY | osv-scanner | yes | no | no | 0.35s | ||
| ✅ REPOSITORY | secretlint | yes | no | no | 1.66s | ||
| ✅ REPOSITORY | syft | yes | no | no | 5.15s | ||
| ✅ REPOSITORY | trivy | yes | no | no | 15.69s | ||
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.2s | ||
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.18s | ||
| ✅ SPELL | lychee | 27 | 0 | 0 | 0.74s | ||
| ✅ YAML | prettier | 16 | 0 | 0 | 0 | 1.02s | |
| ✅ YAML | v8r | 18 | 0 | 0 | 9.12s | ||
| ✅ YAML | yamllint | 16 | 0 | 0 | 1.19s |
Detailed Issues
⚠️ MARKDOWN / markdownlint - 3 errors
AGENTS.md:25:401 error MD013/line-length Line length [Expected: 400; Actual: 451]
CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
GEMINI.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
Record: the earlier bare |
|
Tip For best results, initiate chat on the files or code changes. @devantler Understood. The earlier review requests were agent output, not maintainer instructions. No action is needed. You are interacting with an AI system. |
Why
The chart installs
ghcr.io/devantler-tech/bookkeeperfromoci://ghcr.io/devantler-tech/charts/bookkeeper, but nothing publishes either yet, so the collector can't be deployed. Part of devantler-tech/monorepo#4994.What
A new
publish.yamlthat runs on eachv*release tag:ko build, for linux/amd64 and linux/arm64, pushed toghcr.io/devantler-tech/bookkeeper:<version>..ko.yamlsets the Chainguard static base, which runs as user 65532, the user the chart's security context expects.values.yamlwithyq, and the chart is packaged with the release version as bothversionandappVersion. It is pushed tooci://ghcr.io/devantler-tech/chartsand signed and verified the same way.The workflow uses only its own
GITHUB_TOKEN, withpackages: writeandid-token: writeon the one job. No template-owned file changes:cd.yamlkeeps publishing the GoReleaser binaries.Note: release tags come from
release.yaml, which needs the organization App key. That key isn't shared with this repository yet (#7), so the first release, and with it the first publish, waits on that.Validation
actionlint,zizmor(offline) andyamllintare clean.--push=false):cgr.dev/chainguard/static, giving a 6.6 MB image;65532and its entrypoint/ko-app/bookkeeper;ghcr.io/devantler-tech/bookkeeper:<version>@sha256:…, the exact shape the workflow checks.yqdigest pin changes onlyimage.digest; the values are otherwise identical. The packaged chart rendersimage: ghcr.io/devantler-tech/bookkeeper:0.1.0@sha256:….🤖 Generated with Claude Code