Commit 631d0d646bc2
Changed files (2)
systems
hosts
modules
systems/hosts/aomi.nix
@@ -99,7 +99,7 @@ in
};
"images-by-tag-regex" = {
# sync all "3.x" images"
- "alpine" = "^[1-9]\.[0-9]+$";
+ "alpine" = "^3\.[0-9]+$";
};
};
};
systems/modules/dev/containers-image-mirroring.nix
@@ -60,13 +60,13 @@ in
# Pull to dir first
- skopeo sync --src yaml --dest dir \
+ skopeo sync --preserve-digests --src yaml --dest dir \
${settingsFile} \
$BUILDTMPDIR
# Push to targets
for target in ${lib.strings.concatStringsSep " " cfg.targets}; do
- skopeo sync --src dir --dest docker \
+ skopeo sync --preserve-digests --src dir --dest docker \
$BUILDTMPDIR \
$target
done