From 8292973542672459cd058964ab420e5afbf2259a Mon Sep 17 00:00:00 2001 From: Julien Levesy Date: Thu, 11 Feb 2021 11:53:05 +0100 Subject: [PATCH] builder/docker: use -a option of docker push. Docker 20.04 introduced a breaking change https://github.com/docker/cli/pull/2220 that only pushes :latest when docker push is run without an explicit tag. To solve this issue, we now pass the "-a" option, which pushes all images --- pkg/builder/docker/builder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/builder/docker/builder.go b/pkg/builder/docker/builder.go index 7461329..318ff87 100644 --- a/pkg/builder/docker/builder.go +++ b/pkg/builder/docker/builder.go @@ -79,6 +79,7 @@ func Build(ctx *context.Context, cfg *config.Configuration) error { cfg.GetVerbose(), "docker", "push", + "-a", cfg.GetBuilder().GetImage(), ) }