From 9dba2b27d8d4eec3dc05c2503c43da898236a1fd Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 13 May 2024 14:47:32 +0200 Subject: [PATCH] test --- Dockerfile | 11 ++++++----- gitea-package.sh | 5 +++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b4ab82..2f6ea56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM curlimages/curl:8.7.1 -ENV PLUGIN_OWNER -ENV PLUGIN_PACKAGE_NAME -ENV PLUGIN_PACKAGE_VERSION -ENV PLUGIN_FILE_NAME +#ENV PLUGIN_OWNER +#ENV PLUGIN_PACKAGE_NAME +#ENV PLUGIN_PACKAGE_VERSION +#ENV PLUGIN_FILE_NAME -ENV PLUGIN_UPDATE +#ENV PLUGIN_UPDATE +ENV PLUGIN_DEBUG="1" COPY gitea-package.sh /app WORKDIR /app diff --git a/gitea-package.sh b/gitea-package.sh index 8d0d499..87ac66f 100755 --- a/gitea-package.sh +++ b/gitea-package.sh @@ -43,6 +43,11 @@ showENV () { } main() { + if [ -n "$PLUGIN_DEBUG" ]; then + echo + else + sayW "Debug mode disabled." + fi showENV }