From 51bfcfb986b1f8c748dc3c3c36e98a82accec894 Mon Sep 17 00:00:00 2001 From: Nathan Young Date: Sat, 19 Sep 2026 02:30:22 -0600 Subject: [PATCH] Added files and fixed workflow files --- bin/manually_get_dockerhub_token | 3 +++ bin/readme.md | 1 + bin/update_dockerhub_api | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 bin/readme.md diff --git a/bin/manually_get_dockerhub_token b/bin/manually_get_dockerhub_token index 533f978..0a03776 100755 --- a/bin/manually_get_dockerhub_token +++ b/bin/manually_get_dockerhub_token @@ -1,3 +1,6 @@ +#!/bin/bash +# Will return your dockerhub token (tokens may be temporary) + read -p "Dockerhub username: " DOCKERHUB_USERNAME read -p "Dockerhub PASSWORD: " DOCKERHUB_PASSWORD diff --git a/bin/readme.md b/bin/readme.md new file mode 100644 index 0000000..ff8f00f --- /dev/null +++ b/bin/readme.md @@ -0,0 +1 @@ +These are mainly only needed for managing the git repository, not to be used with happy-ripper diff --git a/bin/update_dockerhub_api b/bin/update_dockerhub_api index d6d6245..2a5e263 100755 --- a/bin/update_dockerhub_api +++ b/bin/update_dockerhub_api @@ -1,5 +1,10 @@ #!/bin/bash +if [[ -z "${1}" ]]; then + echo "This is for the gitea actions only, as it requires the repository's secrets to pass the needed variables" + exit 1 +fi + DOCKERHUB_USERNAME="${1}" DOCKERHUB_PASSWORD="${2}" GITEA_OWNER_REPO="${3}"