File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Here is an example workflow:
4747| Parameter | Description | Default | Required |
4848| -----------------------------| -------------------------------------------------------------------------------------------------------| ------------------------------------------| ----------|
4949| docker_compose_file_path | Set your docker compose file path with the CLI options. | ` -c docker-compose.yml -c docker-compose.prod.yml ` | false |
50- | deployment_image | The Docker Image to deploy . | | false |
50+ | stack_name | The name of your docker stack . | | true |
5151| deployment_ssh_private_key | The private key you have authenticated to connect to your server via SSH. | | ⚠️ true |
5252| remote_ssh_known_hosts | The public key of your SSH server to validate we are connecting to the right server. | | ⚠️ true |
5353| remote_ssh_deployment_user | The user that you would like to connect as on the remote server via SSH. | ` deploy ` | ⚠️ true |
Original file line number Diff line number Diff line change 55 description : ' Set your docker compose file path with the CLI options.'
66 default : ' -c docker-compose.yml -c docker-compose.prod.yml'
77 required : false
8- deployment_image :
9- description : ' The Docker Image to deploy .'
10- required : false
8+ stack_name :
9+ description : ' The name of your Docker stack .'
10+ required : true
1111 deployment_ssh_private_key :
1212 description : ' The private key you have authenticated to connect to your server via SSH.'
1313 required : true
9797 docker --log-level ${{ inputs.log_level }} -H ssh://${{ inputs.remote_ssh_deployment_user }}@${{ inputs.remote_ssh_server_hostname }}:${{ inputs.remote_ssh_port }} \
9898 stack deploy --with-registry-auth \
9999 ${{ inputs.docker_compose_file_path }} \
100- ${{ inputs.deployment_image }} \
100+ ${{ inputs.stack_name }} \
101101 --prune
102102 shell : bash
103103 env :
You can’t perform that action at this time.
0 commit comments