Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ooliver1/portainer-github-webhook
A simple webhook to filter and forward requests to portainer for a specific branch.
https://github.com/ooliver1/portainer-github-webhook
docker docker-compose github github-api github-webhook github-webhooks go golang portainer
Last synced: about 1 month ago
JSON representation
A simple webhook to filter and forward requests to portainer for a specific branch.
- Host: GitHub
- URL: https://github.com/ooliver1/portainer-github-webhook
- Owner: ooliver1
- License: mit
- Created: 2022-12-05T16:30:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T22:26:24.000Z (about 2 years ago)
- Last Synced: 2024-11-13T14:59:25.603Z (about 2 months ago)
- Topics: docker, docker-compose, github, github-api, github-webhook, github-webhooks, go, golang, portainer
- Language: Go
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# portainer-github-webhook
A simple webhook to filter and forward requests to portainer for a specific branch.
## Config Example
Content type is json.
The webhook url would be `http://yourhost:3473?branch=master&uuid=abc-def-ghi-hjk` where `uuid` is your portainer webhook uuid after `/api/stacks/webhooks/` and branch is the desired branch to cause invocations.
```properties
PORTAINER_URL=http://sub.domain.tld
SECRET_KEY=abcdefghijklmnopqrstuvwxyz1234567890 # GitHub webhook secret key
```