diff --git a/README.md b/README.md index e31a21b2..f52e1f76 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The following pipeline will run `test.sh` inside a `app` service container using steps: - command: test.sh plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app ``` @@ -28,7 +28,7 @@ through if you need: steps: - command: test.sh plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app config: docker-compose.tests.yml env: @@ -41,7 +41,7 @@ or multiple config files: steps: - command: test.sh plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app config: - docker-compose.yml @@ -59,7 +59,7 @@ steps: - command: generate-dist.sh artifact_paths: "dist/*" plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app ``` @@ -85,7 +85,7 @@ this plugin offers a `environment` block of it's own: steps: - command: generate-dist.sh plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app env: - BUILDKITE_BUILD_NUMBER @@ -103,7 +103,7 @@ To speed up run parallel steps you can add a pre-building step to your pipeline, steps: - name: ":docker: Build" plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: build: app - wait @@ -112,7 +112,7 @@ steps: command: test.sh parallelism: 25 plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app ``` @@ -124,7 +124,7 @@ steps: agents: queue: docker-builder plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: build: app image-repository: index.docker.io/org/repo @@ -136,7 +136,7 @@ steps: agents: queue: docker-runner plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: app ``` @@ -150,7 +150,7 @@ steps: agents: queue: docker-builder plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: build: - app - tests @@ -162,7 +162,7 @@ steps: command: test.sh parallelism: 25 plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: run: tests ``` @@ -174,7 +174,7 @@ Prebuilt images are automatically pushed with a `build` step, but often you want steps: - name: ":docker: Push to final repository" plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: push: - app:index.docker.io/org/repo/myapp - app:index.docker.io/org/repo/myapp:latest @@ -187,13 +187,13 @@ A newly spawned agent won't contain any of the docker caches for the first run w steps: - name: ":docker Build an image" plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: build: app image-repository: index.docker.io/org/repo cache-from: app:index.docker.io/org/repo/myapp:latest - name: ":docker: Push to final repository" plugins: - docker-compose#v1.7.0: + docker-compose#v1.8.0: push: - app:index.docker.io/org/repo/myapp - app:index.docker.io/org/repo/myapp:latest