From 57225335bc79a6a2ecfef02c93ae844ed87e1dea Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 10 Oct 2017 10:22:24 +0100 Subject: [PATCH] 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 --- src/cmd/linuxkit/pkglib/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/linuxkit/pkglib/docker.go b/src/cmd/linuxkit/pkglib/docker.go index b467ce8bc..f3d377ad3 100644 --- a/src/cmd/linuxkit/pkglib/docker.go +++ b/src/cmd/linuxkit/pkglib/docker.go @@ -75,7 +75,7 @@ func (dr dockerRunner) pushWithManifest(img, suffix string) error { return err } - dctArg := "0" + var dctArg string if dr.dct { dctArg = "1" }