Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
b84165f
Add Standalone Docker Compose
smashedr Mar 13, 2025
0ece405
use stack name for compose project
smashedr Mar 13, 2025
badf355
update README.md
smashedr Mar 13, 2025
777b7f1
update README.md
smashedr Mar 13, 2025
8efd0c7
update README.md
smashedr Mar 13, 2025
a074fed
update README.md
smashedr Mar 13, 2025
b2b7785
update README.md
smashedr Mar 13, 2025
95b5e94
update README.md
smashedr Mar 13, 2025
436dbc2
update README.md
smashedr Mar 13, 2025
afacbd7
update README.md
smashedr Mar 13, 2025
e707f2b
update README.md
smashedr Mar 13, 2025
a648645
update README.md
smashedr Mar 13, 2025
f579652
Fix Compose Output
smashedr Mar 13, 2025
565837c
Fix Auth
smashedr Mar 13, 2025
a548917
Updates
smashedr Mar 13, 2025
cf31cd3
Update test.yaml
smashedr Mar 13, 2025
22634f2
Test Error
smashedr Mar 13, 2025
93a64c4
Test Error
smashedr Mar 13, 2025
351dc42
Test Error
smashedr Mar 13, 2025
2f32e8b
Fix Error Capturing
smashedr Mar 13, 2025
6235fc0
Fix Error Capturing
smashedr Mar 13, 2025
2152774
Update Summary
smashedr Mar 13, 2025
57b6e19
Fix Test
smashedr Mar 14, 2025
8b28057
Update summary.sh
smashedr Mar 14, 2025
c056b92
Cleanup
smashedr Mar 14, 2025
0d9f2b5
Cleanup Prune Flag
smashedr Mar 14, 2025
8862d57
Update Input Warnings
smashedr Mar 14, 2025
52e30c4
Remove unused block
smashedr Mar 14, 2025
d69254b
Update README.md
smashedr Mar 14, 2025
96bffef
Update README.md
smashedr Mar 14, 2025
017c2f5
Rename Inputs
smashedr Mar 14, 2025
d0f03d0
Update README.md
smashedr Mar 14, 2025
b149089
Update README.md
smashedr Mar 14, 2025
3a1917e
Update README.md
smashedr Mar 14, 2025
b0c259f
Update README.md
smashedr Mar 14, 2025
67cbbb8
Update README.md
smashedr Mar 14, 2025
31f4783
Update README.md
smashedr Mar 14, 2025
5ced89e
Tweaks
smashedr Mar 14, 2025
4a1d751
Update README.md
smashedr Mar 14, 2025
8aa2051
Update test.yaml
smashedr Mar 14, 2025
aef0a7d
Update README.md
smashedr Mar 14, 2025
86417b4
Update README.md
smashedr Mar 14, 2025
3002d83
Update README.md
smashedr Mar 14, 2025
1feb38c
Update README.md
smashedr Mar 14, 2025
35498a8
Update README.md
smashedr Mar 14, 2025
2fe6f13
Update README.md
smashedr Mar 14, 2025
b1a8f8d
Update README.md
smashedr Mar 14, 2025
1d583b1
Update Release Workflow
smashedr Mar 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
smashedr committed Mar 14, 2025
commit 2fe6f1310b4b9b0606e6387874ceb6eb0fe1062b
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ For more details see [action.yaml](action.yaml) and [src/main.sh](src/main.sh).
| `registry_pass` | - | - | Registry Authentication Password \* |
| `summary` | - | `true` | Add Job Summary \* |

> **¹** Compose Only. View the [Documentation](https://docs.docker.com/reference/cli/docker/compose/up/).
> **²** Swarm Only. View the [Documentation](https://docs.docker.com/reference/cli/docker/stack/deploy/).
> **¹** Compose Only. View the [Docs](https://docs.docker.com/reference/cli/docker/compose/up/).
> **²** Swarm Only. View the [Docs](https://docs.docker.com/reference/cli/docker/stack/deploy/).
> \* See Below for more details...

<details><summary>📟 Click Here to see how the deployment command is generated</summary>
Expand All @@ -80,38 +80,38 @@ fi

</details>

**name**: Stack name for Swarm and project name for Compose.
**name:** Stack name for Swarm and project name for Compose.

**mode**: _Compose only._ Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.
**mode:** _Compose only._ Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.

**args**: _Compose only._ Compose arguments to pass to the `compose up` command. Only used for `mode: compose` deployments.
**args:** _Compose only._ Compose arguments to pass to the `compose up` command. Only used for `mode: compose` deployments.
The `detach` flag defaults to false for compose. With no args the default is `--remove-orphans --force-recreate`.
Use an empty string to override. For more details, see the compose up
Use an empty string to override. For more details, see the compose
[docs](https://docs.docker.com/reference/cli/docker/compose/up/).

**host**: The hostname or IP address of the remote docker server to deploy too.
**host:** The hostname or IP address of the remote docker server to deploy too.
If your hostname is behind a proxy like Cloudflare you will need to use the IP address.

**pass/ssh_key**: You must provide either a `pass` or `ssh_key`, but not both.
**pass/ssh_key:** You must provide either a `pass` or `ssh_key`, but not both.

**env_file**: Variables in this file are exported before running stack deploy.
**env_file:** Variables in this file are exported before running stack deploy.
To use a docker `env_file` specify it in your compose file and make it available in a previous step.
If you need compose file templating this can also be done in a previous step.
If using `mode: compose` you can also add the `compose_arg: --env-file stringArray`.

**detach**: _Swarm only._ Set this to `false` to not exit immediately and wait for the services to converge.
**detach:** _Swarm only._ Set this to `false` to not exit immediately and wait for the services to converge.
This will generate extra output in the logs and is useful for debugging deployments.
Defaults to `false` in `mode: compose`.

**resolve_image**: _Swarm only._ When the default `always` is used, this argument is omitted.
**resolve_image:** _Swarm only._ When the default `always` is used, this argument is omitted.

**registry_auth**: _Swarm only._ Set to `true` to deploy with `--with-registry-auth`.
**registry_auth:** _Swarm only._ Set to `true` to deploy with `--with-registry-auth`.

**registry_host**: To run `docker login` on another registry. Example: `ghcr.io`.
**registry_host:** To run `docker login` on another registry. Example: `ghcr.io`.

**registry_user/registry_pass**: Required to run `docker login` before stack deploy.
**registry_user/registry_pass:** Required to run `docker login` before stack deploy.

**summary**: Write a Summary for the job. To disable this set to `false`.
**summary:** Write a Summary for the job. To disable this set to `false`.

To view a workflow run, click on a recent [Test](https://github.com/cssnr/stack-deploy-action/actions/workflows/test.yaml) job _(requires login)_.

Expand Down