'Generic Commit'
All checks were successful
dropshell-build / build (push) Successful in 1m3s

This commit is contained in:
Your Name
2025-06-03 00:38:14 +12:00
parent 3fea581249
commit 1da19b9191
12 changed files with 62 additions and 59 deletions

View File

@ -7,26 +7,12 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# download the sos binary
SOS="${SCRIPT_DIR}/temp/sos"
mkdir -p "${SCRIPT_DIR}/temp"
trap 'rm -rf "${SCRIPT_DIR}/temp"' EXIT
curl -L -o "${SOS}" https://getbin.xyz/sos
chmod +x "${SOS}"
# upload the dropshell-build script
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/src/dropshell-build" "dropshell-build:latest"
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/Dockerfile.dropshell-build" "Dockerfile.dropshell-build:latest"
# upload the install requirements script
"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/src/dropshell-build-install-requirements" "dropshell-build-install-requirements:latest"
# tag and push the dropshell-build image
echo "Tagging and pushing the dropshell-build image"
docker tag gitea.jde.nz/public/dropshell-build:test gitea.jde.nz/public/dropshell-build:latest
docker push gitea.jde.nz/public/dropshell-build:latest
# clean up
rm -rf "${SCRIPT_DIR}/temp"
echo "Done"