mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-11-04 09:56:23 +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:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -370,6 +370,12 @@ $(addsuffix .manifest,$(MULTIARCH_IMAGES)): $$(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-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
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user