fix: setup-chainguard-tool composit action to support arm64 runners - #19
Merged
Conversation
BStarmerSmith
approved these changes
Aug 19, 2026
Container image CVE report
|
| Scanner | Critical | Critical+High | Total |
|---|---|---|---|
| Trivy | ✅ 0 | ✅ 0 | 0 |
| Grype | ✅ 0 | 9 |
Grype critical+high by component
| Component | Findings |
|---|---|
busybox 1.38.0-r0 |
3 |
libcrypto3 3.6.3-r4 |
2 |
libssl3 3.6.3-r4 |
2 |
openssl 3.6.3-r4 |
2 |
base-monitoring
| Scanner | Critical | Critical+High | Total |
|---|---|---|---|
| Trivy | ✅ 0 | ✅ 0 | 0 |
| Grype | ✅ 0 | 14 |
Grype critical+high by component
| Component | Findings |
|---|---|
busybox 1.38.0-r0 |
3 |
libcrypto3 3.6.3-r4 |
2 |
libssl3 3.6.3-r4 |
2 |
openssl 3.6.3-r4 |
2 |
go.etcd.io/etcd/client/pkg/v3 v3.5.17 |
1 |
base-os
| Scanner | Critical | Critical+High | Total |
|---|---|---|---|
| Trivy | ✅ 0 | ✅ 0 | 0 |
| Grype | ✅ 0 | 3 |
Grype critical+high by component
| Component | Findings |
|---|---|
busybox 1.38.0-r0 |
3 |
debug
| Scanner | Critical | Critical+High | Total |
|---|---|---|---|
| Trivy | ✅ 0 | ✅ 0 | 0 |
| Grype | ✅ 0 | 37 |
Grype critical+high by component
| Component | Findings |
|---|---|
stdlib go1.25.12 |
12 |
busybox 1.38.0-r0 |
3 |
jline-remote-telnet 3.30.4 |
2 |
libcrypto3 3.6.3-r4 |
2 |
libssl3 3.6.3-r4 |
2 |
openssl 3.6.3-r4 |
2 |
golang.org/x/net v0.55.0 |
1 |
golang.org/x/text v0.37.0 |
1 |
Trivy counts fixed vulnerabilities only; Grype includes unfixed, so its totals run higher. Full reports are in the workflow artifacts.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
apksjob failed on arm64:setup-chainguard-toolhardcoded thelinux_amd64release archive and rejected any non-x86_64 runner.the source prefetch step), then again inside
chainguard-dev/actions/melange-build, whosesetup-melangestep apt-installsa Go toolchain,
build-essentialandqemu-user-staticand then curls anunverified melange tarball over ours. A degraded Ubuntu mirror turned that
apt-get updateinto a 20+ minute stall.setup-melange's payload is needed here: Go only builds melange fromsource (
version: tip), qemu only emulates a foreign arch, and everyapksjob runs natively on a runner of its own arch. Only bubblewrap is.
How
resolve-release.shnow mapsRUNNER_ARCH(falling backto
uname -m) to the goreleaser arch, and the archive name, install dir and anew
archoutput follow it. Both melange and apko publishlinux_arm64archives.
setup-bubblewrapaction — installs bubblewrap and the apparmorprofile melange's default Linux runner needs on 24.04
(melange#1508), lifted
from
setup-melangeand nothing else. Skipsapt-get updateunless theimage's apt lists are too stale to resolve.
melange-build→melange-keygen+melange-build-pkg(samebed8050pin, v1.6.31). These assume melange is already set up, so the verified install
is the only one. Build behaviour is unchanged: same bubblewrap runner, same
--namespace wolfi, same per-config--repository-append/--keyring-appendaccumulation, same per-job throwaway signing key.
install-dirinput used for melange —/usr/local/bin, becausemelange-build-pkgrunssudo melangeand sudo searches its ownsecure_path.download-and-verify.shescalates to sudo only when the targetisn't writable, so the default tool-cache install stays sudo-free.
tests/test-resolve-release.sh(23 checks,ghstubbed, nonetwork): arch mapping in both spellings, per-arch install dir, unsupported
arch, annotated-tag dereference, commit-sha pin.