mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-04-19 14:10:04 +02:00
docs to download latest version
This commit is contained in:
parent
55fa65fc8b
commit
db9182ec53
16
README.md
16
README.md
@ -30,11 +30,23 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
name: Set up Docker Compose
|
||||
uses: docker/setup-compose-action@v1
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> If Docker Compose is already installed on the runner, the action will skip
|
||||
> download. Otherwise, it will download and install the latest stable version
|
||||
> [available on GitHub](https://github.com/docker/compose/releases/latest).
|
||||
|
||||
To always download and install the latest version of Docker Compose:
|
||||
|
||||
```yaml
|
||||
-
|
||||
name: Set up Docker Compose
|
||||
uses: docker/setup-compose-action@v1
|
||||
with:
|
||||
version: latest
|
||||
```
|
||||
|
||||
## Customizing
|
||||
|
Loading…
x
Reference in New Issue
Block a user