feat: add containers.txt to release assets for immutable image references#1916
feat: add containers.txt to release assets for immutable image references#1916
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/403c95e7-5597-403a-9dfc-0f2a33603346 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a machine-readable containers.txt release asset listing the exact GHCR image digests for each AWF release, enabling immutable/reproducible image consumption.
Changes:
- Exposes
docker/build-push-actiondigests as job outputs for all container build jobs. - Generates
release/containers.txtin the release job using those digests. - Uploads
release/containers.txtas a GitHub Release asset (and ensures it’s included inchecksums.txtgeneration).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/release.yml | Plumbs image digest outputs through build jobs and generates/uploads containers.txt as part of the release assets. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Smoke test results (run 24289182699)
Overall: PASS
|
🔥 Smoke Test Results — PASS
PR: feat: add containers.txt to release assets for immutable image references Overall: PASS ✅
|
|
Smoke test results (Codex)
|
Smoke Test: GitHub Actions Services Connectivity ✅
All checks passed. (
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Each AWF release publishes container images to GHCR, but consumers have no machine-readable way to know which exact image digests correspond to a given release. This adds a
containers.txtfile to every release with all five container images pinned by SHA digest, enabling immutable/reproducible consumption.Changes
outputs: digest:to each container build job (build-squid,build-agent,build-api-proxy,build-cli-proxy,build-agent-act) — exposes the digest emitted bydocker/build-push-actionreleasejob (runs before checksum generation) that writesrelease/containers.txtusing the digests passed down from each build jobrelease/containers.txtadded to thesoftprops/action-gh-releasefiles list, placed beforechecksums.txtso it is covered by the SHA-256 checksumOutput format
Consumers (e.g.
gh-aw) can parse this file to pre-download or verify the exact images shipped with a release without relying on mutable tags.