Skip to content

Commit f95735a

Browse files
authored
Merge pull request #842 from snir911/110fix
podvm: remove signature in skopeo copy
2 parents e3306b0 + a5320c0 commit f95735a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/peerpods/podvm/lib.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,11 @@ function extract_container_image() {
331331
error_exit "Usage: extract_container_image <container_image_repo_url> <image_tag> <dest_image> <destination_path> [registry_secret]"
332332

333333
# Form the skopeo CLI. Add authfile if provided
334+
# copy signatures for OCI images is not supported, hence the signatures if any are removed while copying
334335
if [[ -n "${5}" ]]; then
335-
SKOPEO_CLI="skopeo copy --authfile ${auth_json_file}"
336+
SKOPEO_CLI="skopeo copy --remove-signatures --authfile ${auth_json_file}"
336337
else
337-
SKOPEO_CLI="skopeo copy"
338+
SKOPEO_CLI="skopeo copy --remove-signatures"
338339
fi
339340

340341
# Download the container image

0 commit comments

Comments
 (0)