File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,17 @@ Below is an example of how the action can be used
1010
1111``` yaml
1212- name : Start Deployment
13- uses : TapTap21 /docker-remote-deployment -action@v1.0
13+ uses : aosus /docker-compose-gitops -action@v1
1414 with :
15- remote_docker_host : ec2-user@ec2-34-246-134-80.eu-west-1.compute.amazonaws.com
16- ssh_private_key : ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}
17- ssh_public_key : ${{ secrets.DOCKER_SSH_PUBLIC_KEY }}
18- stack_file_name : docker-compose.yml
15+ remote_docker_host : root@100.107.201.124
16+ tailscale_ssh : true # no need for manual private and public keys
17+ compose_file_path : postgres/docker-compose.yml
18+ upload_directory : true # upload docker directory
19+ docker_compose_directory : postgres # directory to upload
1920 docker_login_password : ${{ secrets.DOCKER_REPO_PASSWORD }}
2021 docker_login_user : ${{ secrets.DOCKER_REPO_USERNAME }}
2122 docker_login_registry : ${{ steps.login-ecr.outputs.registry }}
22- args : -p myapp up -d
23+ args : -p postgres up -d
2324` ` `
2425
2526Use the latest tag to run the latest build or a specific version tag. The action pulls a docker image instead of building one to improve performance.
You can’t perform that action at this time.
0 commit comments