From 1569cb1c6d2090c9cbf243e56adf234f1b3469e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Sun, 1 May 2022 18:57:13 +0200 Subject: [PATCH] Allow to define Docker tag to build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cfbaa81..f582b69 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ define docker_build_and_push docker buildx build \ --push \ --platform linux/arm64,linux/amd64 \ - -t "schickling/$1" \ + -t "schickling/$1:$(if $2,$2,latest)" \ ./$1 endef