fix(sandbox): pin the guest image by digest so rebuilds are adopted

msb caches images by reference and pull without --force never contacts the
registry, while attestation compares the reference string. A floating tag
therefore keeps a stale guest image forever and still passes attestation.
Pinning the default to the published index digest makes IfMissing pull the
new image and forces the running microVM to be recreated on deploy.
This commit is contained in:
Chris Scott committed 2026-08-28 13:31:53 -04:00
1 parent 297f6a5237
commit 1c3ae528b1
5 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export const DEFAULTS = {
SANDBOX: {
MSB_PATH: 'msb',
IMAGE: 'docker.io/cstechdev/ocm-sandbox:latest',
IMAGE: 'docker.io/cstechdev/ocm-sandbox@sha256:74a9f12e1c1768e36bc159c4c7efb70ab9c47da5f46f93763ddb282dd58ad79c',
MEMORY: '4G',
CPUS: 2,
EXEC_USER: 'node',