Skip to content

Commit e7d6fbf

Browse files
authored
Merge pull request #4 from crazy-max/docs-latest
docs to download latest version
2 parents 55fa65f + db9182e commit e7d6fbf

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,23 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
-
33-
name: Checkout
34-
uses: actions/checkout@v4
33+
name: Set up Docker Compose
34+
uses: docker/setup-compose-action@v1
35+
```
36+
37+
> [!NOTE]
38+
> If Docker Compose is already installed on the runner, the action will skip
39+
> download. Otherwise, it will download and install the latest stable version
40+
> [available on GitHub](https://github.com/docker/compose/releases/latest).
41+
42+
To always download and install the latest version of Docker Compose:
43+
44+
```yaml
3545
-
3646
name: Set up Docker Compose
3747
uses: docker/setup-compose-action@v1
48+
with:
49+
version: latest
3850
```
3951
4052
## Customizing

0 commit comments

Comments
 (0)