Initial commit
This commit is contained in:
commit
82e7e6a96d
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM alpine:latest
|
||||
RUN apk add --no-cache curl
|
||||
COPY entrypoint.sh /bin/entrypoint.sh
|
||||
CMD ["/bin/entrypoint.sh"]
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# plugin-gotify
|
||||
|
||||
Plugin for woodpecker to send messages to gotify.
|
4
entrypoint.sh
Executable file
4
entrypoint.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO: Verify that variables are set properly
|
||||
curl "${PLUGIN_GOTIFY_URL}/message?token=${PLUGIN_GOTIFY_TOKEN}" -F "title=${PLUGIN_TITLE}" -F "message=${PLUGIN_MESSAGE}" -F "priority=5"
|
Loading…
Reference in New Issue
Block a user