From 5d05dd5c5565e9a2caa7143154a76ad2f8259c2f Mon Sep 17 00:00:00 2001 From: Yichao 'Peak' Ji Date: Sat, 25 Mar 2023 12:51:39 +0800 Subject: [PATCH] build(make): minor syntax updates (#105) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2b1a17d..704914f 100644 --- a/Makefile +++ b/Makefile @@ -44,15 +44,15 @@ clean: .PHONY: docker-% docker-%: build-% - @docker build --platform=$(subst -,/,$*) --tag $(DOCKER_HUB_IMAGE)-$* . + @docker build --platform $(subst -,/,$*) --tag $(DOCKER_HUB_IMAGE)-$* . .PHONY: docker-hub docker-hub: $(foreach t,$(subst $(comma), ,$(TARGET_CONTAINER_PLATFORMS)),build-$(subst /,-,$(t))) - @docker buildx build --push --platform=$(TARGET_CONTAINER_PLATFORMS) --tag $(DOCKER_HUB_IMAGE) . + @docker buildx build --push --platform $(TARGET_CONTAINER_PLATFORMS) --tag $(DOCKER_HUB_IMAGE) . .PHONY: github-packages github-packages: $(foreach t,$(subst $(comma), ,$(TARGET_CONTAINER_PLATFORMS)),build-$(subst /,-,$(t))) - @docker buildx build --push --platform=$(TARGET_CONTAINER_PLATFORMS) --tag $(GITHUB_PACKAGES_IMAGE) . + @docker buildx build --push --platform $(TARGET_CONTAINER_PLATFORMS) --tag $(GITHUB_PACKAGES_IMAGE) . .PHONY: github-release github-release: changelog