Skip to content

gha: Publish disk images with the GHCR bootc digest - #141

Merged
alicefr merged 1 commit into
bootc-dev:mainfrom
HarshwardhanPatil07:fix-issue-135-disk-image-digest
Sep 17, 2026
Merged

alicefr merged 1 commit into
bootc-dev:mainfrom
HarshwardhanPatil07:fix-issue-135-disk-image-digest

Conversation

@HarshwardhanPatil07

Copy link
Copy Markdown
Member

Disk images currently record the digest produced by a local registry, which can differ from the manifest digest stored by GHCR. Capture the staging push digest and verify that it remains reachable before publishing disk tags.

Closes: #135

Disk images currently record the digest produced by a local registry, which can differ from the manifest digest stored by GHCR. Capture the staging push digest and verify that it remains reachable before publishing disk tags.

Closes: bootc-dev#135

Assisted-by: AI
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
@HarshwardhanPatil07

Copy link
Copy Markdown
Member Author

Captures the actual GHCR digest using podman push --digestfile. Passes that digest into both normal and composefs disk builds. Uses skopeo copy --preserve-digests when promoting the staged bootc image. Before publishing disk images, verifies: both disk variants reference the same digest; that digest matches the published bootc tag; the digest can actually be fetched from GHCR.

@alicefr
alicefr merged commit f501f90 into bootc-dev:main Sep 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The latest bink disk image with the tag v1.35-fedora-44-disk doesn't reference an existing node image

2 participants