test
Some checks failed
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
OCram85 2024-05-13 14:47:32 +02:00
parent a08e397b7d
commit 9dba2b27d8
2 changed files with 11 additions and 5 deletions

View File

@ -1,11 +1,12 @@
FROM curlimages/curl:8.7.1 FROM curlimages/curl:8.7.1
ENV PLUGIN_OWNER #ENV PLUGIN_OWNER
ENV PLUGIN_PACKAGE_NAME #ENV PLUGIN_PACKAGE_NAME
ENV PLUGIN_PACKAGE_VERSION #ENV PLUGIN_PACKAGE_VERSION
ENV PLUGIN_FILE_NAME #ENV PLUGIN_FILE_NAME
ENV PLUGIN_UPDATE #ENV PLUGIN_UPDATE
ENV PLUGIN_DEBUG="1"
COPY gitea-package.sh /app COPY gitea-package.sh /app
WORKDIR /app WORKDIR /app

View File

@ -43,6 +43,11 @@ showENV () {
} }
main() { main() {
if [ -n "$PLUGIN_DEBUG" ]; then
echo
else
sayW "Debug mode disabled."
fi
showENV showENV
} }