Skip to content

Commit

Permalink
fix(image-signing): Replace policy.json with updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
zelikos committed Jun 16, 2024
1 parent 32d8929 commit a38a24b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/base/image-signing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a38a24b

Please sign in to comment.