From 5e4f7e915ebec279f20329bba5701a7b8d8dfe32 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 14 Sep 2018 22:25:08 -0400 Subject: Vendor in latest projectatomic/buildah Buildah Fixes to COPY and ADD to properly follow symbolic links is SRC is a symbolic link Print out a digest message on successful push. We should not drop the Bounding set when running as a non priv user in podman build Signed-off-by: Daniel J Walsh Closes: #1483 Approved by: rhatdan --- vendor/github.com/projectatomic/buildah/commit.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/projectatomic/buildah/commit.go') diff --git a/vendor/github.com/projectatomic/buildah/commit.go b/vendor/github.com/projectatomic/buildah/commit.go index b25ec7029..2d49832a7 100644 --- a/vendor/github.com/projectatomic/buildah/commit.go +++ b/vendor/github.com/projectatomic/buildah/commit.go @@ -171,7 +171,7 @@ func Push(ctx context.Context, image string, dest types.ImageReference, options return errors.Wrapf(err, "error creating new signature policy context") } // Look up the image. - src, _, err := util.FindImage(options.Store, "", systemContext, image) + src, img, err := util.FindImage(options.Store, "", systemContext, image) if err != nil { return err } @@ -181,7 +181,9 @@ func Push(ctx context.Context, image string, dest types.ImageReference, options return errors.Wrapf(err, "error copying layers and metadata") } if options.ReportWriter != nil { - fmt.Fprintf(options.ReportWriter, "\n") + fmt.Fprintf(options.ReportWriter, "") } + digest := "@" + img.Digest.Hex() + fmt.Printf("Successfully pushed %s%s\n", dest.StringWithinTransport(), digest) return nil } -- cgit v1.2.3-54-g00ecf