cli/push: Add `platform` switch
- needs: https://github.com/moby/moby/pull/47679
- What I did
Added a platform switch to docker image push.
- How I did it
- How to verify it
$ docker pull --platform linux/arm64 busybox
$ docker tag busybox myimage
$ docker push --platform linux/arm64 myimage
- Description for the changelog
containerd image store: Add `--platform` switch to `docker image push`.
- A picture of a cute animal (not mandatory but encouraged)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 0.00%. Comparing base (
cba002e) to head (9e06e58). Report is 9 commits behind head on master.
:exclamation: Current head 9e06e58 differs from pull request most recent head 32ac7a0
Please upload reports for the commit 32ac7a0 to get more accurate results.
Additional details and impacted files
@@ Coverage Diff @@
## master #4984 +/- ##
==========================================
- Coverage 61.83% 0 -61.84%
==========================================
Files 298 0 -298
Lines 20731 0 -20731
==========================================
- Hits 12818 0 -12818
+ Misses 7000 0 -7000
+ Partials 913 0 -913
https://github.com/moby/moby/pull/47943 was merged
@krissetto @Benehiko can you TAL?