Feat: pass args to build script

This commit is contained in:
Alexander Pankratov 2021-12-12 03:00:00 +03:00
parent f66f26dc74
commit 237415ec14

View File

@ -2,4 +2,4 @@
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
docker buildx build --platform linux/amd64,linux/arm64 -t xtrime/telegram-api-server:latest --push "$SCRIPT_DIR/../"
docker buildx build --platform linux/amd64,linux/arm64 -t xtrime/telegram-api-server:latest "$@" --push "$SCRIPT_DIR/../"