cssnr/Portainer Stack Deploy Action
Deploy, Update or Create a Portainer Swarm or Standalone Stack from a Repository or Compose File
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Stack Name | yes | — |
| url | Portainer URL | yes | — |
| token | Portainer Token | yes | — |
| file | Compose File | — | docker-compose.yaml |
| endpoint | Portainer Endpoint ID | — | — |
| ref | Repository Ref | — | ${{ github.ref }} |
| repo | Repository URL | — | ${{ github.server_url }}/${{ github.repository }} |
| tlsskip | Skip TLS Repo Verification | — | false |
| prune | Prune Services | — | true |
| pull | Pull Images | — | true |
| type | Deploy Type | — | repo |
| standalone | Standalone Stack | — | false |
| env_data | Environment JSON/YAML String | — | — |
| env_json | Environment JSON/YAML String | — | — |
| env_file | Dotenv File Path | — | — |
| merge_env | Merge Env Vars | — | false |
| username | Repository Username | — | — |
| password | Repository Password | — | — |
| fs_path | Relative path volume in host (Portainer BE) | — | — |
| headers | Custom Headers JSON | — | — |
| summary | Add Summary to Job | — | true |
Outputs
| name | description |
|---|---|
| stackID | Stack ID |
| swarmID | Swarm ID |
| endpointID | Endpoint ID |