A simple Portainer Service Updater
Go to file
2022-01-04 11:15:06 +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 update go version 2022-01-04 11:15:06 +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
go.mod migrate repo content 2022-01-04 10:58:46 +01:00
go.sum migrate repo content 2022-01-04 10:58:46 +01:00
LICENSE Initial commit 2022-01-04 10:29:33 +01:00
main.go migrate repo content 2022-01-04 10:58:46 +01:00
README.md migrate repo content 2022-01-04 10:58:46 +01:00

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