harbor/tests/robot-cases/Group0-Util/cnab_push_bundle.sh
danfengliu 8f9822d168 Add nightly test case of push docker manifest list
1. Add notary tool in E2E Dockerfile;
2. Add push docker manifest list test in nightly;
3. Modify document for e2e user guide;
4. Add CNAB tool  in E2E Dockerfile;

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-04-01 06:51:13 +00:00

12 lines
273 B
Bash
Executable File

#!/bin/bash
IP=$1
USER=$2
PWD=$3
TARGET=$4
BUNDLE_FILE=$5
echo $IP
docker login $IP -u $USER -p $PWD
cnab-to-oci fixup $BUNDLE_FILE --target $TARGET --bundle fixup_bundle.json --auto-update-bundle
cnab-to-oci push fixup_bundle.json --target $TARGET --auto-update-bundle