diff options
author | Brent Baude <bbaude@redhat.com> | 2020-06-16 15:09:20 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-06-17 09:01:43 -0500 |
commit | 65c3a56602f50856c6d4b8df212f046d53ba52c1 (patch) | |
tree | 926069a574c1f2e61d391e60c8ee1cf106e1af73 /pkg/bindings | |
parent | 38391ed25fdb1cc53b70a75ee4fbe7ea0fa782c3 (diff) | |
download | podman-65c3a56602f50856c6d4b8df212f046d53ba52c1.tar.gz podman-65c3a56602f50856c6d4b8df212f046d53ba52c1.tar.bz2 podman-65c3a56602f50856c6d4b8df212f046d53ba52c1.zip |
fix misc remote build issues
address problem when multiple -t were sent. and rework remote build's tarball if a context dir is given other than ".".
Fixes: #6578
Fixes: #6577
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings')
-rw-r--r-- | pkg/bindings/images/images.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/bindings/images/images.go b/pkg/bindings/images/images.go index 9cb6a0ac5..bc2d116f3 100644 --- a/pkg/bindings/images/images.go +++ b/pkg/bindings/images/images.go @@ -229,6 +229,9 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO if t := options.Output; len(t) > 0 { params.Set("t", t) } + for _, tag := range options.AdditionalTags { + params.Add("t", tag) + } // TODO Remote, Quiet if options.NoCache { params.Set("nocache", "1") |