From c76b39dc161f047682900b66fffc07fe9bc82394 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 25 Mar 2024 17:28:24 -0500 Subject: [PATCH] fix: Typo in Makefile, and break lines --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index faeb1bd..95502c9 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,9 @@ V_PATCH := $(shell cat actix/Cargo.toml | sed -rn 's/^version = "(.+)"$$/\1/p') V_MINOR := $(shell cat actix/Cargo.toml | sed -rn 's/^version = "(.+)\..+"$$/\1/p') V_MAJOR := $(shell cat actix/Cargo.toml | sed -rn 's/^version = "(.+)\..+\..+"$$/\1/p') docker-release: build-release - docker buildx build --push --tag ${DOCKER_USERNAME}/chhoto-url:${V_MAJOR} --tag ${DOCKER_USERNAME}/chhoto-url:${V_MINOR} --tag ${DOCKER_USERNAME}/chhoto-url:${V_PATCH} \ - ---tag ${DOCKER_USERNAME}/chhoto-url:latest -platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch . + docker buildx build --push --tag ${DOCKER_USERNAME}/chhoto-url:${V_MAJOR} --tag ${DOCKER_USERNAME}/chhoto-url:${V_MINOR} \ + --tag ${DOCKER_USERNAME}/chhoto-url:${V_PATCH} --tag ${DOCKER_USERNAME}/chhoto-url:latest \ + --platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch . clean: docker ps -q --filter "name=chhoto-url" | xargs -r docker stop