A simple Portainer Service Updater
Go to file
OCram85 d2189ab440
Dev (#1)
* update go version

* update dependencies
2022-01-04 11:30:13 +01:00
.gitea migrate repo content 2022-01-04 10:58:46 +01:00
.vscode migrate repo content 2022-01-04 10:58:46 +01:00
bin migrate repo content 2022-01-04 10:58:46 +01:00
build migrate repo content 2022-01-04 10:58:46 +01:00
cconsole migrate repo content 2022-01-04 10:58:46 +01:00
docs migrate repo content 2022-01-04 10:58:46 +01:00
tests migrate repo content 2022-01-04 10:58:46 +01:00
.drone.yml Dev (#1) 2022-01-04 11:30:13 +01:00
.editorconfig migrate repo content 2022-01-04 10:58:46 +01:00
.gitattributes migrate repo content 2022-01-04 10:58:46 +01:00
.gitignore migrate repo content 2022-01-04 10:58:46 +01:00
.gitlocal migrate repo content 2022-01-04 10:58:46 +01:00
Dockerfile migrate repo content 2022-01-04 10:58:46 +01:00
LICENSE Initial commit 2022-01-04 10:29:33 +01:00
README.md migrate repo content 2022-01-04 10:58:46 +01:00
go.mod Dev (#1) 2022-01-04 11:30:13 +01:00
go.sum Dev (#1) 2022-01-04 11:30:13 +01:00
main.go migrate repo content 2022-01-04 10:58:46 +01:00

README.md

Portainer-ServiceUpdate

A simple Portainer Service Updater

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