forked from TapTap21/docker-remote-deployment-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
54 lines (50 loc) · 1.66 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
name: Docker-Compose gitops action
author: FarisZR
description: A GitHub Action making gitops with docker-compose easy.
inputs:
remote_docker_host:
description: Remote Docker host ie (user@host)
required: true
ssh_public_key:
description: Remote Docker SSH public key
ssh_private_key:
description: SSH private key used to connect to the docker host
tailscale_ssh:
description: Use Tailscale SSH to conncet to the server with managed SSH keys
required: false
args:
description: Deployment command args.
required: true
compose_file_path:
description: path for Docker compose file used. Default is is repo root(docker-compose.yml)
required: false
ssh_port:
description: The ssh port of the server. Default is 22
required: false
upload_directory:
description: when enabled, uploads entire docker directory, useful for configuration files needed along the container
required: false
post_upload_command:
description: sets command to run post upload, useful to fix permission issues in configuration files
required: false
docker_compose_directory:
description: specifies which directory to upload, needed for upload_directory
required: false
docker_login_password:
description: The docker login password
required: false
docker_swarm:
description: enables docker swarm mode (docker stack deploy), defaults to false
required: false
docker_login_user:
description: The docker login user
required: false
docker_login_registry:
description: The docker login registry
required: false
runs:
using: docker
image: 'Dockerfile'
branding:
icon: upload-cloud
color: orange