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

This reverts commit c999d7b453.
This commit is contained in:
Shiming Zhang 2022-11-04 19:28:51 +08:00 committed by GitHub
parent c999d7b453
commit 0d9655a1a9
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 image2="${2:-}"
${SKOPEO} copy --retry-times "${RETRY}" --all --dest-tls-verify=false "docker://${image1}" "docker://${image2}"
${SKOPEO} copy --retry-times "${RETRY}" --all --dest-tls-verify=false --format oci "docker://${image1}" "docker://${image2}"
}
function list-tags() {