mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-10 20:50:29 +01:00
8f9822d168
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>
12 lines
273 B
Bash
Executable File
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 |