Skip to content

Commit

Permalink
builder/docker: use -a in push to keep previous behavior
Browse files Browse the repository at this point in the history
Docker 20.04 introduced a breaking change  docker/cli#2220 that only pushes :latest when docker push is run without an explicit tag
  • Loading branch information
jlevesy committed Feb 11, 2021
1 parent f810ffe commit f521e32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/builder/docker/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func Build(ctx *context.Context, cfg *config.Configuration) error {
cfg.GetVerbose(),
"docker",
"push",
"-a",
cfg.GetBuilder().GetImage(),
)
}
Expand Down

0 comments on commit f521e32

Please sign in to comment.