Skip to main content
Plugins / Portainer Service Update

Portainer Service Update

by Woodpecker Community (OCram85)

Plugin to trigger Portainer service updates via webhook.


Overview

WoodpeckerCI Plugin to trigger Portainer service updates via webhook.

  • Just enable the Service webhook feature in your portainer service definition.
    • Then copy the token part in the shown url.
  • Add the token as Woodpecker secret.

You can use this step snippet with your previously saved secret to trigger an update with Woodpecker:

Settings

Settings Name Default Description
portainer_uri none Base URI for your Portainer instance
portainer_token none The token for the service your would like to update
log_level info log level for zerolog logger. You can use info or debug

Examples

- name: 'Trigger Service Update'
  image: woodpeckercommunity/portainer-service-update
  settings:
    portainer_uri: 'https://your-portainer-url.com'
    portainer_token:
      from_secret: token