diff --git a/Dockerfile b/Dockerfile index dcc1f83..7963d90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM alpine:latest -RUN apk add --no-cache curl +RUN apk add --no-cache curl jq COPY entrypoint.sh /bin/entrypoint.sh CMD ["/bin/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index feec947..5987ee3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,5 +17,4 @@ if [ "$?" -ne "0" ]; then exit "$?" fi -echo "Sent message with title \"${PLUGIN_TITLE}\":" -echo "${PLUGIN_MESSAGE}" \ No newline at end of file +echo "$res" | jq . \ No newline at end of file