mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
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:
1 parent
297f6a5237
commit
1c3ae528b1
5 files changed
+15
-9
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user