This commit is contained in:
parent
d4796d98ea
commit
3364914d3e
18
publish.sh
18
publish.sh
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
#SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
# download the sos binary
|
# # download the sos binary
|
||||||
SOS="${SCRIPT_DIR}/temp/sos"
|
# SOS="${SCRIPT_DIR}/temp/sos"
|
||||||
mkdir -p "${SCRIPT_DIR}/temp"
|
# mkdir -p "${SCRIPT_DIR}/temp"
|
||||||
trap 'rm -rf "${SCRIPT_DIR}/temp"' EXIT
|
# trap 'rm -rf "${SCRIPT_DIR}/temp"' EXIT
|
||||||
|
|
||||||
curl -L -o "${SOS}" https://getbin.xyz/sos
|
# curl -L -o "${SOS}" https://getbin.xyz/sos
|
||||||
chmod +x "${SOS}"
|
# chmod +x "${SOS}"
|
||||||
|
|
||||||
# upload the dropshell-build script
|
# # upload the dropshell-build script
|
||||||
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/Dockerfile.dropshell-build" "Dockerfile.dropshell-build:latest"
|
# "${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/Dockerfile.dropshell-build" "Dockerfile.dropshell-build:latest"
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
Loading…
x
Reference in New Issue
Block a user