Merge pull request #773 from bassam/pr-fix-publish2
build: add manifest_tool as a dependency
This commit is contained in:
commit
3620f2d3e0
1 file changed
+2
-2
@@ -97,10 +97,10 @@ clean.all.images: clean.image.$(1).$(2).$(3)
|
||||
endef
|
||||
$(foreach r,$(REGISTRIES), $(foreach i,$(IMAGES), $(foreach a,$(IMAGE_ARCHS),$(eval $(call repo.targets,$(r),$(i),$(a))))))
|
||||
|
||||
publish.manifest.image.%: publish.all.images
|
||||
publish.manifest.image.%: publish.all.images $(MANIFEST_TOOL)
|
||||
@$(MANIFEST_TOOL) push from-args --platforms $(IMAGE_PLATFORMS) --template $(DOCKER_REGISTRY)/$*-ARCH:$(VERSION) --target $(DOCKER_REGISTRY)/$*:$(VERSION)
|
||||
|
||||
promote.manifest.image.%: promote.all.images
|
||||
promote.manifest.image.%: promote.all.images $(MANIFEST_TOOL)
|
||||
@[ "$(CHANNEL)" = "master" ] || $(MANIFEST_TOOL) push from-args --platforms $(IMAGE_PLATFORMS) --template $(DOCKER_REGISTRY)/$*-ARCH:$(VERSION) --target $(DOCKER_REGISTRY)/$*:$(VERSION)-$(CHANNEL)
|
||||
@$(MANIFEST_TOOL) push from-args --platforms $(IMAGE_PLATFORMS) --template $(DOCKER_REGISTRY)/$*-ARCH:$(VERSION) --target $(DOCKER_REGISTRY)/$*:$(CHANNEL)
|
||||
|
||||
|
||||
Reference in new issue
Block a user