Pull urunit and the guest kernel from ghcr.io/nofireai, pinned - #1
Open
panosmaurikos wants to merge 1 commit into
Open
panosmaurikos wants to merge 1 commit into
panosmaurikos wants to merge 1 commit into
Conversation
Every Containerfile build injects urunit and the Cloud Hypervisor kernel, and bunny resolved both as harbor.nbfc.io/...:latest. So each build fetched unpinned artifacts from a registry we do not run: the guest kernel could change between two builds of the same commit, and a harbor outage failed the build outright (a wrong-name certificate on 2026-08-26 broke brain-go's urunc-e2e run 33002508492). Mirror urunit, the Cloud Hypervisor kernel and libarchive into ghcr.io/nofireai with digests preserved, and pin the defaults to those digests. The new workflow copies them with skopeo and fails unless each copy is byte-identical to its source.
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.
Every Containerfile build injects urunit and the Cloud Hypervisor kernel, and bunny resolved both as
harbor.nbfc.io/...:latest(hops/parse_file.go; libarchive the same way inhops/llb.go). So each build:This PR:
.github/workflows/mirror-nofire.yml, which copies the three images intoghcr.io/nofireaiwithskopeo copy --all --preserve-digests, and fails unless each copy is byte-identical to its source;ghcr.io/nofireai/urunit@sha256:ae7553fc…ghcr.io/nofireai/bunny/linux-kernel-cloud-hypervisor@sha256:a9638a1d…ghcr.io/nofireai/bunny/libarchive@sha256:5244491f…The digests are today's upstream
latest, so the output of a build does not change. The qemu and firecracker kernels still come from harbor; we do not use them.Refs NOFireAI/brain-go#106