Commit 0ffda8e
fix: use chainguard/git base image for releases
The goreleaser kos: section had golang:1.25 (808MB) as base image,
while .ko.yaml correctly uses cgr.dev/chainguard/git (76MB).
Goreleaser ignores .ko.yaml so the base must be set in both places.
golang:1.25 is a full Go SDK image with hundreds of unnecessary
packages, resulting in a large attack surface and many CVEs in
security scans (visible on Artifact Hub).
cgr.dev/chainguard/git is a minimal image with only git and its
dependencies, patched and maintained by Chainguard.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>1 parent 81189e7 commit 0ffda8e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments