From 84506825b8d6f6c0b4cb5a06a761a190c542abde Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 18 Dec 2023 17:11:38 +0100 Subject: [PATCH] chore: fixed manifest creation and push. Signed-off-by: Federico Di Pierro --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 736e0173..048a5e6a 100644 --- a/Makefile +++ b/Makefile @@ -87,15 +87,12 @@ manifest/all: manifest/driverkit .PHONY: manifest/driverkit manifest/driverkit: - $(DOCKER) manifest create $(IMAGE_NAME_DRIVERKIT):$(GIT_REF) $(IMAGE_NAME_DRIVERKIT):$(GIT_REF)_x86_64 $(IMAGE_NAME_DRIVERKIT):$(GIT_REF)_aarch64 - $(DOCKER) manifest push $(IMAGE_NAME_DRIVERKIT):$(GIT_REF) - $(DOCKER) manifest create $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT) $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT)_x86_64 $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT)_aarch64 - $(DOCKER) manifest push $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT) + $(DOCKER) buildx imagetools create -t $(IMAGE_NAME_DRIVERKIT):$(GIT_REF) $(IMAGE_NAME_DRIVERKIT):$(GIT_REF)_x86_64 $(IMAGE_NAME_DRIVERKIT):$(GIT_REF)_aarch64 + $(DOCKER) buildx imagetools create -t $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT) $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT)_x86_64 $(IMAGE_NAME_DRIVERKIT):$(GIT_COMMIT)_aarch64 .PHONY: manifest/latest manifest/latest: - $(DOCKER) manifest create $(IMAGE_NAME_DRIVERKIT):latest $(IMAGE_NAME_DRIVERKIT):latest_x86_64 $(IMAGE_NAME_DRIVERKIT):latest_aarch64 - $(DOCKER) manifest push $(IMAGE_NAME_DRIVERKIT):latest + $(DOCKER) buildx imagetools create -t $(IMAGE_NAME_DRIVERKIT):latest $(IMAGE_NAME_DRIVERKIT):latest_x86_64 $(IMAGE_NAME_DRIVERKIT):latest_aarch64 .PHONY: test test: