diff --git a/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml b/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml index c6ce4a099d..65f3f65d4d 100644 --- a/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml +++ b/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml @@ -143,7 +143,14 @@ spec: } EOL + echo "Ensuring that the empty blob exists, for the image manifest config." + echo -n "{}" | oras blob push \ + --registry-config auth.json \ + ${REPO}@sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a \ + --media-type application/vnd.oci.empty.v1+json --size 2 - + for varfile in /var/workdir/vars/*; do + echo echo "Reading $varfile" source $varfile