mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
build: Fix the docker_push_script
This commit is contained in:
parent
629e66a57c
commit
6d3d220cff
1 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,9 @@ elif [ "$1" == "release" ]; then
|
||||||
v_minor=$(echo $v_patch | sed -rn 's/^(.+\..+)\..+$/\1/p')
|
v_minor=$(echo $v_patch | sed -rn 's/^(.+\..+)\..+$/\1/p')
|
||||||
v_major=$(echo $v_minor | sed -rn 's/^(.+)\..+$/\1/p')
|
v_major=$(echo $v_minor | sed -rn 's/^(.+)\..+$/\1/p')
|
||||||
|
|
||||||
|
make build
|
||||||
name="chhoto-url"
|
name="chhoto-url"
|
||||||
docker buildx build --push --tag sintan1729/$name:$v_major --tag sintan1729/$v_minor: \
|
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
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue