mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-03-13 17:40:07 +01:00
web-wasi: add web-wasi.push targets
Pushes the complete manifest using the v2s2 format, which is required for proper architecture display in container registries. The --format v2s2 flag ensures compatibility with Docker Hub and other container registries. The --all flag ensures that both architecture variants are pushed along with the manifest.
This commit is contained in:
parent
5370aa6fe9
commit
5082131705
6
Makefile
6
Makefile
@ -370,6 +370,12 @@ $(addsuffix .manifest,$(MULTIARCH_IMAGES)): $$(basename $$@)
|
|||||||
$(BUILDAH) manifest create $(ORG)/$(basename $@)
|
$(BUILDAH) manifest create $(ORG)/$(basename $@)
|
||||||
$(BUILDAH) manifest add $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):latest-amd64
|
$(BUILDAH) manifest add $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):latest-amd64
|
||||||
$(BUILDAH) manifest add $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):latest-arm64
|
$(BUILDAH) manifest add $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):latest-arm64
|
||||||
|
|
||||||
|
.SECONDEXPANSION:
|
||||||
|
$(addsuffix .push,$(MULTIARCH_IMAGES)): $$(basename $$@).manifest
|
||||||
|
$(BUILDAH) manifest push --all --format v2s2 $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):latest
|
||||||
|
$(BUILDAH) manifest push --all --format v2s2 $(ORG)/$(basename $@) docker://$(ORG)/$(basename $@):$(TAG)
|
||||||
|
|
||||||
#
|
#
|
||||||
# testing prerequisites implicit rule
|
# testing prerequisites implicit rule
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user