From f72f5ddbea67627bc83b39002aac3799476840a6 Mon Sep 17 00:00:00 2001 From: swarupsengupta2007 Date: Fri, 27 Dec 2024 22:27:00 +0530 Subject: [PATCH] updated readme --- README.md | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3dc13e0..c524620 100644 --- a/README.md +++ b/README.md @@ -30,30 +30,24 @@ docker buildx create --name cross-platform --platform ${TARGETS} --use docker buildx build -t . --load # build for multi-arch and push to registry -docker buildx build --build-arg TARGETS=${TARGETS} -t / \ ---platform ${TARGETS} . --push -``` - -Or use the helper script make.bash as follows -```bash # optional, choose targets (defaults to the following list) export TARGETS="linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6" -# optional, choose psiphon version (defaults to the lastest committed docker image) -export VERSION=2.0.30 +# choose psiphon version +export VERSION=2.0.31 -# optional, choose go version (currently 1.20) -export GO_VERSION=1.20 +# choose go version (currently 1.22.7) +export GO_VERSION=1.22.7 # run the script -./make.bash +./make.bash --push ``` Build-args available |build-arg|default|Description| |--|--|--| -|VERSION|2.0.23|psiphon-tunnel-core release version| -|TARGETS|\/\|Targets for cross-compilation for the build stage| +|VERSION|psiphon-tunnel-core release version| +|TARGETS|\/\ (Targets for cross-compilation for the build stage)| --- # Usage