getpkg/dropshell-build/publish.sh
Your Name 4b7ec3cacf
Some checks failed
dropshell-build / build (push) Has been cancelled
'Generic Commit'
2025-05-31 22:02:26 +12:00

18 lines
625 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# upload the dropshell-build script
"${SCRIPT_DIR}/../sos/sos" upload "getbin.xyz" "dropshell-build" "${SCRIPT_DIR}/src/dropshell-build"
# upload the install requirements script
"${SCRIPT_DIR}/../sos/sos" upload "getbin.xyz" "dropshell-build-install-requirements" "${SCRIPT_DIR}/src/install_dropshell_build_requirements"
# tag and push 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