From 0b6d970bc3a43977bc4970de698beb422fbe69e8 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 10 May 2023 19:23:07 +0200 Subject: [PATCH] execute plugin --- Dockerfile | 2 +- plugin.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 85ffb5b..b9c5fc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN apk add curl git jq pandoc --no-cache --update && rm -rf /var/cache/apk/* # add the wrapper which acts as a drone plugin COPY --from=BUILD /app/plugin.sh /plugin.sh RUN chmod +x /plugin.sh -CMD [ "echo", "'test'" ] +CMD [ "./plugin.sh" ] diff --git a/plugin.sh b/plugin.sh index 5e5e5ce..fd0721d 100644 --- a/plugin.sh +++ b/plugin.sh @@ -1,5 +1,7 @@ #!/bin/bash +echo 'test' + set -euo pipefail git fetch