Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 11, 2021
Merged

Conversation

jlevesy
Copy link
Contributor

@jlevesy jlevesy commented Feb 11, 2021

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.

@jlevesy jlevesy added the bug label Feb 11, 2021
@jlevesy jlevesy self-assigned this Feb 11, 2021
@jlevesy jlevesy changed the title builder/docker: use -a in push to keep previous behavior builder/docker: List explicitely tags to push when pushing Feb 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
@jlevesy jlevesy changed the title builder/docker: List explicitely tags to push when pushing builder/docker: Use -a option when pushing Feb 11, 2021
@jlevesy jlevesy merged commit 8a49459 into master Feb 11, 2021
@jlevesy jlevesy deleted the jl/use-push-a branch February 11, 2021 13:02
Sign up for free to 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