@@ -77,7 +77,7 @@ Don't see your feature here? Please help by submitting a [Feature Request](https
7777| :------------------- | :----------: | :---------------------------------- | :------------------------------------------------------------ |
7878| ` name` | **Yes** | - | Docker Stack/Project Name \* |
7979| `file` | - | `docker-compose.yaml` | Docker Stack/Compose File(s) \* |
80- | `mode`**¹** | - | `swarm` | Deploy Mode [`swarm`, `compose`] \* |
80+ | `mode`**¹** | - | `swarm` | Deploy Mode [`swarm`, `compose`, `context` ] \* |
8181| `args`**¹** | - | `--remove-orphans --force-recreate` | Additional **Compose** Arguments \* |
8282| `host` | **Yes** | - | Remote Docker Hostname or IP \* |
8383| `port` | - | `22` | Remote Docker Port |
@@ -122,7 +122,8 @@ Compose Note: `"${STACK_FILES[@]}"` is an array of `-f docker-compose.yaml` for
122122**file:** Stack file or Compose file(s). Multiple files can be provided, space seperated, and a `-f` will be prepended to each.
123123Example : ` web.yaml db.yaml` .
124124
125- **mode:** _Compose only._ Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.
125+ **mode:** _Compose only._ This can be `swarm`, `compose`, `context`.
126+ If using `context` you need to add your deployment commands in a subsequent step.
126127
127128**args:** _Compose only._ Compose arguments to pass to the `compose up` command. Only used for `mode: compose` deployments.
128129The `detach` flag defaults to false for compose. With no args the default is `--remove-orphans --force-recreate`.
@@ -551,48 +552,45 @@ Additionally, you can support other GitHub Actions I have published:
551552- [VirusTotal Action](https://github.com/cssnr/virustotal-action?tab=readme-ov-file#readme)
552553- [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action?tab=readme-ov-file#readme)
553554- [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action?tab=readme-ov-file#readme)
555+ - [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme)
554556- [Update JSON Value Action](https://github.com/cssnr/update-json-value-action?tab=readme-ov-file#readme)
557+ - [JSON Key Value Check Action](https://github.com/cssnr/json-key-value-check-action?tab=readme-ov-file#readme)
555558- [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action?tab=readme-ov-file#readme)
556559- [Cloudflare Purge Cache Action](https://github.com/cssnr/cloudflare-purge-cache-action?tab=readme-ov-file#readme)
557560- [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action?tab=readme-ov-file#readme)
558- - [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme)
559561- [Package Changelog Action](https://github.com/cssnr/package-changelog-action?tab=readme-ov-file#readme)
560562- [NPM Outdated Check Action](https://github.com/cssnr/npm-outdated-action?tab=readme-ov-file#readme)
561563- [Label Creator Action](https://github.com/cssnr/label-creator-action?tab=readme-ov-file#readme)
562564- [Algolia Crawler Action](https://github.com/cssnr/algolia-crawler-action?tab=readme-ov-file#readme)
563565- [Upload Release Action](https://github.com/cssnr/upload-release-action?tab=readme-ov-file#readme)
564566- [Check Build Action](https://github.com/cssnr/check-build-action?tab=readme-ov-file#readme)
565567- [Web Request Action](https://github.com/cssnr/web-request-action?tab=readme-ov-file#readme)
568+ - [Get Commit Action](https://github.com/cssnr/get-commit-action?tab=readme-ov-file#readme)
566569
567- <details><summary>Unpublished Actions ❔</summary>
568-
569- These actions' are not published on the Marketplace, but may be useful.
570-
571- Generic Actions :
572-
573- - [cssnr/draft-release-action](https://github.com/cssnr/draft-release-action) - Keep a draft release ready to publish.
574- - [cssnr/env-json-action](https://github.com/cssnr/env-json-action) - Convert env file to json or vice versa.
575- - [cssnr/get-commit-action](https://github.com/cssnr/get-commit-action) - Get the current commit with full details.
570+ <details><summary>❔ Unpublished Actions</summary>
576571
577- Specific Actions :
572+ These actions are not published on the Marketplace, but may be useful.
578573
579- - [cssnr/push-artifacts-action](https://github.com/cssnr/push-artifacts-action) - Sync's artifacts to a remote host.
580- - [smashedr/update-release-notes-action](https://github.com/smashedr/update-release-notes-action) - Update release notes.
574+ - [cssnr/draft-release-action](https://github.com/cssnr/draft-release-action?tab=readme-ov-file#readme) - Keep a draft release ready to publish.
575+ - [cssnr/env-json-action](https://github.com/cssnr/env-json-action?tab=readme-ov-file#readme) - Convert env file to json or vice versa.
576+ - [cssnr/push-artifacts-action](https://github.com/cssnr/push-artifacts-action?tab=readme-ov-file#readme) - Sync files to a remote host with rsync.
577+ - [smashedr/update-release-notes-action](https://github.com/smashedr/update-release-notes-action?tab=readme-ov-file#readme) - Update release notes.
578+ - [smashedr/combine-release-notes-action](https://github.com/smashedr/combine-release-notes-action?tab=readme-ov-file#readme) - Combine release notes.
581579
582580---
583581
584582</details>
585583
586- <details><summary>Action Templates 📝 </summary>
584+ <details><summary>📝 Template Actions </summary>
587585
588- These are basic actions' templates that I use for creating new actions.
586+ These are basic action templates that I use for creating new actions.
589587
590588- [js-test-action](https://github.com/smashedr/js-test-action?tab=readme-ov-file#readme) - JavaScript
591589- [py-test-action](https://github.com/smashedr/py-test-action?tab=readme-ov-file#readme) - Python
592590- [ts-test-action](https://github.com/smashedr/ts-test-action?tab=readme-ov-file#readme) - TypeScript
593591- [docker-test-action](https://github.com/smashedr/docker-test-action?tab=readme-ov-file#readme) - Docker Image
594592
595- Note : The `docker-action` template runs from, builds for, and pushes images to [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
593+ Note : The `docker-test- action` builds, runs and pushes images to [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
596594
597595---
598596
0 commit comments