From a38a24b6d3400360ded72a29d9976e12982ab2d4 Mon Sep 17 00:00:00 2001 From: zelikos Date: Sat, 15 Jun 2024 22:03:37 -0400 Subject: [PATCH] fix(image-signing): Replace policy.json with updated version --- scripts/base/image-signing.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/base/image-signing.sh b/scripts/base/image-signing.sh index 96aafaec..2248361e 100755 --- a/scripts/base/image-signing.sh +++ b/scripts/base/image-signing.sh @@ -24,7 +24,9 @@ jq '.transports.docker |= } ] } -+ .' "$FILE" ++ .' "$FILE" > updated-policy.json + +mv update-policy.json "$FILE" cp /usr/etc/containers/registries.d/ublue-os.yaml /usr/etc/containers/registries.d/"$IMAGE_NAME".yaml sed -i "s ghcr.io/ublue-os $IMAGE_REGISTRY g" /usr/etc/containers/registries.d/"$IMAGE_NAME".yaml