mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 01:27:49 +01:00
Merge pull request #10530 from danfengliu/add-expect-file-from-linux-os-1
Add expect file from linux OS
This commit is contained in:
commit
812eec40bf
@ -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