summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/image.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/image.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/projectatomic/buildah/image.go b/vendor/github.com/projectatomic/buildah/image.go
index e5a49f1f9..a54643806 100644
--- a/vendor/github.com/projectatomic/buildah/image.go
+++ b/vendor/github.com/projectatomic/buildah/image.go
@@ -46,6 +46,7 @@ type containerImageRef struct {
dconfig []byte
created time.Time
createdBy string
+ historyComment string
annotations map[string]string
preferredManifestType string
exporting bool
@@ -303,6 +304,7 @@ func (i *containerImageRef) NewImageSource(ctx context.Context, sc *types.System
Created: &i.created,
CreatedBy: i.createdBy,
Author: oimage.Author,
+ Comment: i.historyComment,
EmptyLayer: false,
}
oimage.History = append(oimage.History, onews)
@@ -310,6 +312,7 @@ func (i *containerImageRef) NewImageSource(ctx context.Context, sc *types.System
Created: i.created,
CreatedBy: i.createdBy,
Author: dimage.Author,
+ Comment: i.historyComment,
EmptyLayer: false,
}
dimage.History = append(dimage.History, dnews)
@@ -521,6 +524,7 @@ func (b *Builder) makeImageRef(manifestType string, exporting bool, compress arc
dconfig: dconfig,
created: created,
createdBy: b.CreatedBy(),
+ historyComment: b.HistoryComment(),
annotations: b.Annotations(),
preferredManifestType: manifestType,
exporting: exporting,