Portainer-ServiceUpdate/README.md

25 lines
585 B
Markdown
Raw Permalink Normal View History

2022-01-04 10:29:33 +01:00
# Portainer-ServiceUpdate
2022-01-04 10:58:46 +01:00
2022-01-04 10:29:33 +01:00
A simple Portainer Service Updater
2022-01-04 10:58:46 +01:00
## About
You can use this plugin for updating any Portainer Service within a drone.io pipeline.
- Enable the `Service webhook` feature in your portainer service definition.
- copy the token part in the shown url.
Add a Drone.IO secret in your project named `TOKEN`
Add this step to your pipeline to trigger the update:
```
- name: "Trigger Service Update"
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://your-portainer-url.com"
TOKEN:
from_secret: TOKEN
```