mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-04-20 06:30:03 +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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Set up Docker Compose
|
||||||
uses: actions/checkout@v4
|
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
|
name: Set up Docker Compose
|
||||||
uses: docker/setup-compose-action@v1
|
uses: docker/setup-compose-action@v1
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Customizing
|
## Customizing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user