Skip to content

builder/docker: Use -a option when pushing - #9

Merged
jlevesy merged 1 commit into
masterfrom
jl/use-push-a
Feb 11, 2021
Merged

builder/docker: Use -a option when pushing#9
jlevesy merged 1 commit into
masterfrom
jl/use-push-a

Conversation

@jlevesy

@jlevesyjlevesy commented Feb 11, 2021

Copy link
Copy Markdown
Contributor

What does this PR do ?

This PR makes ubuild passing explicitely the -a flag to push all known images when calling docker push.

Indeed, Docker 20.04 introduced a breaking change that only pushes :latest when docker push is run without an explicit tag.

And this brand new version comes with Ubuntu 20.04 which starts to rollout progressively on github actions.

@jlevesyjlevesy added the bug label Feb 11, 2021
@jlevesyjlevesy self-assigned this Feb 11, 2021
@jlevesyjlevesy changed the title builder/docker: use -a in push to keep previous behaviorbuilder/docker: List explicitely tags to push when pushingFeb 11, 2021
Docker 20.04 introduced a breaking change docker/cli#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
@jlevesyjlevesy changed the title builder/docker: List explicitely tags to push when pushingbuilder/docker: Use -a option when pushingFeb 11, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jlevesy@tgallice@Sypheos@upfluence-bot