summaryrefslogtreecommitdiff
path: root/libpod/events/events.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-08-03 12:53:33 -0500
committerBrent Baude <bbaude@redhat.com>2020-08-12 10:00:51 -0500
commit1c9753c2304eff158510ff005468587c6d8ad3ff (patch)
tree418117f0e605bd0ee018f311c507235e4f757e97 /libpod/events/events.go
parent8eaacec150df782c291e9c6046bb0db010dd2f08 (diff)
downloadpodman-1c9753c2304eff158510ff005468587c6d8ad3ff.tar.gz
podman-1c9753c2304eff158510ff005468587c6d8ad3ff.tar.bz2
podman-1c9753c2304eff158510ff005468587c6d8ad3ff.zip
add event for image build
upon image build completion, a new image type event is written for "build". more intricate details, like pulling an image, that might be done by build must be implemented in different vendored packages only after libpod is split from podman. Fixes: #7022 Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/events/events.go')
-rw-r--r--libpod/events/events.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index 0253b1ee5..722c9595e 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -127,6 +127,8 @@ func StringToStatus(name string) (Status, error) {
switch name {
case Attach.String():
return Attach, nil
+ case Build.String():
+ return Build, nil
case Checkpoint.String():
return Checkpoint, nil
case Cleanup.String():