summaryrefslogtreecommitdiff
path: root/libpod/runtime_img.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-10-17 18:44:56 -0400
committerGitHub <noreply@github.com>2018-10-17 18:44:56 -0400
commitd01382aed1429d5aa2dea77fb15569b03f45e9a1 (patch)
treec2c4992606864554b346ebbfa7bddc5061bd3bcc /libpod/runtime_img.go
parent19c150bef12ff08abc8249cc21275266a7ac74a3 (diff)
parentbfc473f982ecdbfbe885d104036ecf9f70f3cd0f (diff)
downloadpodman-d01382aed1429d5aa2dea77fb15569b03f45e9a1.tar.gz
podman-d01382aed1429d5aa2dea77fb15569b03f45e9a1.tar.bz2
podman-d01382aed1429d5aa2dea77fb15569b03f45e9a1.zip
Merge pull request #1676 from baude/updatebuildah
Vendor in new new buildah/ci
Diffstat (limited to 'libpod/runtime_img.go')
-rw-r--r--libpod/runtime_img.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/runtime_img.go b/libpod/runtime_img.go
index a21ea7673..be8711734 100644
--- a/libpod/runtime_img.go
+++ b/libpod/runtime_img.go
@@ -164,5 +164,6 @@ func removeStorageContainers(ctrIDs []string, store storage.Store) error {
// Build adds the runtime to the imagebuildah call
func (r *Runtime) Build(ctx context.Context, options imagebuildah.BuildOptions, dockerfiles ...string) error {
- return imagebuildah.BuildDockerfiles(ctx, r.store, options, dockerfiles...)
+ _, _, err := imagebuildah.BuildDockerfiles(ctx, r.store, options, dockerfiles...)
+ return err
}