diff --git a/Dockerfile b/Dockerfile index 9c3fd04..f754e2c 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 [ "sh", "/plugin.sh" ] +ENTRYPOINT [ "/plugin.sh" ] diff --git a/plugin.sh b/plugin.sh index 0cbad0d..812e901 100644 --- a/plugin.sh +++ b/plugin.sh @@ -1,7 +1,5 @@ #!/bin/sh -echo 'test' - set -euo pipefail git fetch