generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
57 lines (46 loc) · 1.17 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: 'Portainer Deploy Stack'
description: 'Deploy provided stack via Portainer'
branding:
icon: 'arrow-up-circle'
color: 'blue'
inputs:
portainer-username:
description: Portainer user name
required: true
portainer-password:
description: Portainer user password
required: true
portainer-url:
description: URL of Portainer instance
required: true
portainer-endpoint:
description: Swarm cluster ID in Portainer
required: true
stack-name:
description: Docker Swarm stack name
required: true
stack-file:
description: Path of file with stack definition
required: true
stack-vars:
description: Stack variables to substitute.
required: false
stack-prune:
description: Prune services there no longer referenced
required: false
default: 'false'
stack-pull-image:
description: Pull newest version of images
required: false
default: 'true'
teams:
description: |
Name of teams who can access this stack via Poratiner.
Delimited by ","
required: false
outputs:
stack-id:
description: Created docker swarm stack ID
runs:
using: 'node16'
main: 'dist/index.js'