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 }