Correct manifest push without content trust

The script expects an empty second argument to mean no trust and anything else
to mean trust.

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell 2017-10-10 10:22:24 +01:00
parent d055ab31d8
commit 57225335bc

View File

@ -75,7 +75,7 @@ func (dr dockerRunner) pushWithManifest(img, suffix string) error {
return err
}
dctArg := "0"
var dctArg string
if dr.dct {
dctArg = "1"
}