home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 631d0d646bc29d7d00cbb52f9d1695d48f8eb82c
parent d3d4c2d2410492e156dc78747460091ddcb0f3c4
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  2 Sep 2022 13:54:59 +0200

systems/aomi: sync only alpine 3.x…

… and preserve digests

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/aomi.nix | 2+-
Msystems/modules/dev/containers-image-mirroring.nix | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/systems/hosts/aomi.nix b/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]+$"; }; }; }; diff --git a/systems/modules/dev/containers-image-mirroring.nix b/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