You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9f24004
Browse filesBrowse the repository at this point in the historyBrowse files
The command never publishes implicitly. Add `--push` after authenticating ORAS through its Docker-compatible credential configuration:
@@ -141,6 +143,11 @@ nix run .#test-guest-cache -- \
141
143
--push
142
144
```
143
145
146
+
A successful push prints the immutable `repository@sha256:...` reference. Supply
147
+
that digest to consumers through trusted CI configuration. Pulls by mutable tag
148
+
are not allowed. A pulled local entry records its manifest digest and is reused
149
+
only when it matches the requested trusted digest.
150
+
144
151
A cache build boots and configures a disposable VM, runs the internal sealing script, flattens the overlay into a standalone QCOW2 disk, and validates a fresh boot before committing the entry. The OCI artifact contains metadata and a `disk.qcow2.zst` layer.
145
152
146
153
The key includes the pinned base-image identity, guest architecture, ordered configuration file digests, Ansible version, cache generation, and sealing script digest. Installed packages, copied binaries, forwarded ports, and guest commands are never cached.
@@ -155,6 +162,7 @@ Cache command options:
155
162
--distro NAME Base distro: ubuntu, centos, fedora, or rocky
156
163
--with NAME Apply docker, podman, or selinux; repeatable
157
164
--repository REF OCI repository without a tag
165
+
--digest DIGEST Trusted OCI manifest digest required for pulls
158
166
--cache-dir PATH Override the local prepared-disk cache directory
159
167
--push Publish the ensured entry to the repository
0 commit comments