carlrygart/Deploy a Portainer stack
Github Action to deploy a stack to a Portainer instance
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| portainer-host | Portainer host, eg. https://myportainer.instance.com | yes | — |
| username | Username for the Portainer login. NOTE: Do not use admin account! Create a new CI specific login | yes | — |
| password | Password for the Portainer login | yes | — |
| swarm-id | ID of the swarm. Only required if you deploy to a swarm. | no | — |
| endpoint-id | ID of the Portainer node to deploy to | no | — |
| stack-name | Name for the Portainer stack | yes | — |
| stack-definition | The path to the docker-compose stack stack definition file, eg. stack-definition.yml | yes | — |
| template-variables | If given, these variables will be replaced in docker-compose file by handlebars | no | — |
| image | The URI of the container image to insert into the stack definition, eg. docker.pkg.github.com/username/repo/master | no | — |
Outputs
no outputs