From 3936061ac34d2a915d131468ccd7e1fa8e9ebcef Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 23 Oct 2024 15:36:03 +0000
Subject: [PATCH] docs: update actions and workflows documentation
[skip ci]
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
README.md | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index ceb1ae0..f8e5aca 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,17 @@ Some extra options can be passed to the `docker-compose down` command using the
#
# Default: ${{ github.workspace }}
cwd: ""
+
+ # Description: Compose version to use. If null (default), it will use the current
+ # installed version. If "latest", it will install the latest version.
+ #
+ compose-version: ""
+
+ # Description: The GitHub token used to create an authenticated client (to fetch
+ # the latest version of docker-compose).
+ #
+ # Default: ${{ github.token }}
+ github-token: ""
```
@@ -83,14 +94,16 @@ Some extra options can be passed to the `docker-compose down` command using the
-| **Input** | **Description** | **Default** | **Required** |
-| -------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------ |
-| compose-file | Path to compose file(s). It can be a list of files. It can be absolute or relative to the current working directory (cwd). | ./docker-compose.yml | **false** |
-| services | Services to perform docker-compose up. | | **false** |
-| up-flags | Additional options to pass to docker-compose up command. | | **false** |
-| down-flags | Additional options to pass to docker-compose down command. | | **false** |
-| compose-flags | Additional options to pass to docker-compose command. | | **false** |
-| cwd | Current working directory | ${{ github.workspace }} | **false** |
+| **Input** | **Description** | **Default** | **Required** |
+| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | ------------ |
+| compose-file | Path to compose file(s). It can be a list of files. It can be absolute or relative to the current working directory (cwd). | ./docker-compose.yml | **false** |
+| services | Services to perform docker-compose up. | | **false** |
+| up-flags | Additional options to pass to docker-compose up command. | | **false** |
+| down-flags | Additional options to pass to docker-compose down command. | | **false** |
+| compose-flags | Additional options to pass to docker-compose command. | | **false** |
+| cwd | Current working directory | ${{ github.workspace }} | **false** |
+| compose-version | Compose version to use.
If null (default), it will use the current installed version.
If "latest", it will install the latest version. | | **false** |
+| github-token | The GitHub token used to create an authenticated client (to fetch the latest version of docker-compose). | ${{ github.token }} | **false** |