-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
50 lines (50 loc) · 1.4 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
name: 'portainer stack deploy'
description: 'Github Action for portainer, continuous deploy image to portainer by remote endpoint'
author: 'LGinC <[email protected]>'
branding:
icon: 'arrow-down-right'
color: 'blue'
inputs:
serverurl:
description: 'portainer server url'
required: true
username:
description: 'portainer admin user name'
required: false
password:
description: 'portainer admin user password'
required: false
access_token:
description: 'portainer account access token'
required: false
endpointId:
description: 'portainer EndpointId,default 1'
required: false
default: "1"
stackname:
description: 'name of stack, lowercase'
required: true
imagenames:
description: 'names of pull images, a arrary'
required: false
env:
description: 'environments of stack'
required: false
variables:
description: 'these variables will be replaced in docker-compose file'
required: false
docker_compose:
description: 'content of docker-compose.yml'
required: false
docker_compose_path:
description: 'docker-compose.yml in repository relative path'
required: false
repo_username:
description: 'username of git repository'
required: false
repo_password:
description: 'password of git repository'
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/lginc/portainer-stack-deploy'