Revert "Revert "Remove `--format oci` (#255)" (#256)" (#257)

This reverts commit 0d9655a1a9.
This commit is contained in:
Shiming Zhang 2022-11-04 19:31:43 +08:00 committed by GitHub
parent 0d9655a1a9
commit 49f791aa5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ function copy-image() {
local image1="${1:-}" local image1="${1:-}"
local image2="${2:-}" local image2="${2:-}"
${SKOPEO} copy --retry-times "${RETRY}" --all --dest-tls-verify=false --format oci "docker://${image1}" "docker://${image2}" ${SKOPEO} copy --retry-times "${RETRY}" --all --dest-tls-verify=false "docker://${image1}" "docker://${image2}"
} }
function list-tags() { function list-tags() {