Add README and CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Torjus Håkestad 2022-01-10 13:38:42 +01:00
parent 82e7e6a96d
commit 1ee71fcc4e
2 changed files with 44 additions and 1 deletions

28
.woodpecker.yml Normal file
View File

@ -0,0 +1,28 @@
pipeline:
release-latest:
image: plugins/docker
settings:
repo: registry.t-juice.club/plugin-gotify
registry: registry.t-juice.club
username: woodpecker
password:
from_secret: registry_password
tags:
- latest
- "${CI_COMMIT_SHA:0:8}"
when:
branch: master
event: push
release-tagged:
image: plugins/docker
settings:
repo: registry.t-juice.club/plugin-gotify
registry: registry.t-juice.club
username: woodpecker
password:
from_secret: registry_password
tags:
- "${CI_COMMIT_TAG}"
when:
event: [tag]

View File

@ -1,3 +1,18 @@
# plugin-gotify
Plugin for woodpecker to send messages to gotify.
Plugin for woodpecker to send messages to gotify.
## Usage
```yaml
pipeline:
notification:
image: registry.t-juice.club/plugin-gotify
settings:
gotify_url: https://gotify.t-juice.club
gotify_token:
from_secret: gotify_token
title: "Message lol"
message: |
Notification message body
```