harbor/tests/robot-cases/Group9-Content-trust/notary-pull-image-inteceptor.sh
Yan f40eb993a0 [BAT] add drone to master (#2942)
* add drone to master

copyright

update

update

update

update

update

update build process

* update

* package migrator
2017-08-07 14:02:38 +08:00

9 lines
251 B
Bash
Executable File

#!/bin/bash
IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_SERVER=https://$IP:4443
docker login -u admin -p Harbor12345 $IP
docker pull $IP/library/tomcat:latest