mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-28 09:42:05 +01:00
Add expect file from linux OS
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
012aa570c8
commit
2d41498f6a
@ -3,9 +3,10 @@
|
||||
set HOST [lindex $argv 0]
|
||||
set PROJECT [lindex $argv 1]
|
||||
set IMAGE [lindex $argv 2]
|
||||
set notaryServerEndpoint [lindex $argv 3]
|
||||
set timeout 30
|
||||
|
||||
spawn notary -s https://$HOST:4443 --tlscacert /notary_ca/ca.crt -d /root/.docker/trust remove -p $HOST/$PROJECT/$IMAGE latest
|
||||
spawn notary -s https://$notaryServerEndpoint --tlscacert /notary_ca.crt -d /root/.docker/trust remove -p $HOST/$PROJECT/$IMAGE latest
|
||||
|
||||
expect {
|
||||
"Enter username:" {send "admin\r";exp_continue}
|
||||
|
Loading…
Reference in New Issue
Block a user