mortenlj / dockerma

DockerMA - Docker Multi Architecture DockerMA facilitates building multi-arch containers with minimal fuss.
MIT License
0 stars 0 forks source link

Support multi-arch in tag command #5

Open mortenlj opened 4 years ago

mortenlj commented 4 years ago

A semi-common pattern is to build latest in CI, and then at the end of the build you tag it with a specific version. When building with dockerma, you now need three tag commands, to tag each architecture specific image. It might be best with a tag command that takes a “manifest” and tags all the arch specific images, following the normal pattern.

mortenlj commented 4 years ago

It might make more sense to do #6 before this one.

mortenlj commented 4 years ago

I think the way to solve this is to look for arch-specific images matching the source tag, and tag each of them with the wanted tag + arch-suffix.