xjl0/Portainer Deploy Action

Github Action to deploy a stack to a Portainer instance

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
portainer-hostPortainer host, eg. https://myportainer.instance.comyes
usernameUsername for the Portainer login. NOTE: Do not use admin account! Create a new CI specific loginyes
passwordPassword for the Portainer loginyes
swarm-idID of the swarm. Only required if you deploy to a swarm.no
endpoint-idID of the Portainer node to deploy tono
stack-nameName for the Portainer stackyes
stack-definitionThe path to the docker-compose stack stack definition file, eg. stack-definition.ymlyes
template-variablesIf given, these variables will be replaced in docker-compose file by handlebarsno
imageThe URI of the container image to insert into the stack definition, eg. docker.pkg.github.com/username/repo/masterno
prunePrune services that are no longer referenced (only available for Swarm stacks)nofalse
pullImageForce a pulling to current image with the original tag though the image is already the latestnofalse

no outputs