-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1.19 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Portainer(v2) Stack Deployment
description: Portainer Stack Deployment Github Action, which deploys Docker Swarm Stacks by using Portainer API.
inputs:
url:
description: URL of the Portainer API.
required: true
username:
description: Portainer Admin Username.
required: true
password:
description: Portainer Admin Password.
required: true
environment_id:
description: Portainer Environment ID.
required: true
stack_name:
description: Name of the stack to be deployed or updated.
required: true
stack_file_path:
description: Location of the stack file (Relative from the root directory).
required: true
mustache_variables:
description: Variables to render the stack file (JSON Format).
required: false
default: "{}"
delete:
description: Option to delete a stack.
required: false
default: "false"
prune:
description: Remove missing/obsolete services from stack on update.
required: false
default: "false"
pull_image:
description: Remove existing image and pull again on update.
required: false
default: "false"
runs:
using: node12
main: dist/index.js
branding:
icon: upload-cloud
color: purple