Skip to content

Commit

Permalink
Merge pull request buildkite-plugins#214 from marketplacer/task/updat…
Browse files Browse the repository at this point in the history
…e-version-in-docs

Update documented version to 3.0.1
  • Loading branch information
toolmantim authored Apr 10, 2019
2 parents 55945d3 + c39a57d commit 5085379
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The following pipeline will run `test.sh` inside a `app` service container using
steps:
- command: test.sh
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
```
Expand All @@ -26,7 +26,7 @@ through if you need:
steps:
- command: test.sh
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
config: docker-compose.tests.yml
env:
Expand All @@ -39,7 +39,7 @@ or multiple config files:
steps:
- command: test.sh
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
config:
- docker-compose.yml
Expand All @@ -53,15 +53,15 @@ steps:
- plugins:
- docker-login#v2.0.1:
username: xyz
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
build: app
image-repository: index.docker.io/myorg/myrepo
- wait
- command: test.sh
plugins:
- docker-login#v2.0.1:
username: xyz
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
```
Expand All @@ -70,7 +70,7 @@ If you want to control how your command is passed to docker-compose, you can use
```yml
steps:
- plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
command: ["custom", "command", "values"]
```
Expand All @@ -86,7 +86,7 @@ steps:
- command: generate-dist.sh
artifact_paths: "dist/*"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
```
Expand All @@ -104,7 +104,7 @@ steps:
- command: generate-dist.sh
artifact_paths: "dist/*"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
volumes:
- "./dist:/app/dist"
Expand All @@ -125,7 +125,7 @@ this plugin offers a `environment` block of it's own:
steps:
- command: generate-dist.sh
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
env:
- BUILDKITE_BUILD_NUMBER
Expand All @@ -145,7 +145,7 @@ Alternatively, if you want to set build arguments when pre-building an image, th
steps:
- command: generate-dist.sh
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
build: app
image-repository: index.docker.io/myorg/myrepo
args:
Expand All @@ -162,7 +162,7 @@ To speed up run steps that use the same service/image (such as steps that run in
steps:
- label: ":docker: Build"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
build: app
image-repository: index.docker.io/myorg/myrepo
Expand All @@ -172,7 +172,7 @@ steps:
command: test.sh
parallelism: 25
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: app
```

Expand All @@ -188,7 +188,7 @@ steps:
agents:
queue: docker-builder
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
build:
- app
- tests
Expand All @@ -200,7 +200,7 @@ steps:
command: test.sh
parallelism: 25
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
run: tests
```

Expand All @@ -212,7 +212,7 @@ If you want to push your Docker images ready for deployment, you can use the `pu
steps:
- label: ":docker: Push"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
push: app
```

Expand All @@ -224,7 +224,7 @@ steps:
plugins:
- docker-login#v2.0.1:
username: xyz
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
push: app
```

Expand All @@ -236,7 +236,7 @@ steps:
plugins:
- docker-login#v2.0.1:
username: xyz
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
push:
- first-service
- second-service
Expand All @@ -250,7 +250,7 @@ steps:
plugins:
- docker-login#v2.0.1:
username: xyz
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
push:
- app:index.docker.io/myorg/myrepo/myapp
- app:index.docker.io/myorg/myrepo/myapp:latest
Expand All @@ -264,14 +264,14 @@ A newly spawned agent won't contain any of the docker caches for the first run w
steps:
- label: ":docker Build an image"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
build: app
image-repository: index.docker.io/myorg/myrepo
cache-from: app:index.docker.io/myorg/myrepo/myapp:latest
- wait
- label: ":docker: Push to final repository"
plugins:
- docker-compose#v3.0.0:
- docker-compose#v3.0.1:
push:
- app:index.docker.io/myorg/myrepo/myapp
- app:index.docker.io/myorg/myrepo/myapp:latest
Expand Down

0 comments on commit 5085379

Please sign in to comment.