-
Notifications
You must be signed in to change notification settings - Fork 94
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
Documentation Notice: push from-args
is overwrite, not append.
#95
Comments
In a flint of inspiration, I realized that, "No, I don't have to hard code the other archs, I can Once I did that, I realized that I don't only need to build ONE container, I can build ALL THE THINGS. This way I can keep track of them. Long story short (too late!), I'm now building all my architectures within one build in Docker Hub, and doing one push of If you are curious about the code, a template repository is available at jnovack/docker-multi-arch-hooks. |
These are some good questions, and I'm sure the documentation in this repo could be more clear on the usage side for various scenarios. Mostly the topic of "how do I?" has been shared in other venues like talks about multi-arch build pipelines and/or specific users (like how To respond to a few specifics, although it sounds like you are getting most of this:
All my projects which use |
A major caveat on DockerHub (not your fault) of
push from-args
is that the operation overwrites what is there, not appends.This means, you can not dynamically add additional architectures to a pre-existing list or do a multiple-builds and have them join up under 1 tag, you must have the complete list, and push it only at the end when all builds are complete.
I think this should be called out, in documentation, somewhere. I spent 4 hours wondering why my multi-architecture builds were not showing. 😠
The text was updated successfully, but these errors were encountered: