From 6d3d220cff74027ebd1cd7928737a4984e9d088d Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 25 Mar 2024 01:26:13 -0500 Subject: [PATCH] build: Fix the docker_push_script --- docker_push_script.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker_push_script.sh b/docker_push_script.sh index 3e95cd2..7a1787b 100755 --- a/docker_push_script.sh +++ b/docker_push_script.sh @@ -7,9 +7,10 @@ elif [ "$1" == "release" ]; then v_patch=$(cat actix/Cargo.toml | sed -rn 's/^version = "(.+)"$/\1/p') v_minor=$(echo $v_patch | sed -rn 's/^(.+\..+)\..+$/\1/p') v_major=$(echo $v_minor | sed -rn 's/^(.+)\..+$/\1/p') - + + make build name="chhoto-url" docker buildx build --push --tag sintan1729/$name:$v_major --tag sintan1729/$v_minor: \ - --tag sintan1729/$name:$v_patch --tag sintan1729/$name:latest --platform linux/amd64,linux/arm64 + --tag sintan1729/$name:$v_patch --tag sintan1729/$name:latest --platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch . fi