Skip to content

Commit 2988e17

Browse files
committed
update plugin version to latest
1 parent b58ff37 commit 2988e17

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

docs/examples.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following pipeline will run `test.sh` inside a `app` service container using
1010
steps:
1111
- command: test.sh
1212
plugins:
13-
- docker-compose#v5.8.0:
13+
- docker-compose#v5.9.0:
1414
run: app
1515
```
1616
@@ -19,7 +19,7 @@ steps:
1919
```yml
2020
steps:
2121
- plugins:
22-
- docker-compose#v5.8.0:
22+
- docker-compose#v5.9.0:
2323
run: app
2424
command: ["custom", "command", "values"]
2525
```
@@ -30,7 +30,7 @@ The plugin will honor the value of the `COMPOSE_FILE` environment variable if on
3030
steps:
3131
- command: test.sh
3232
plugins:
33-
- docker-compose#v5.8.0:
33+
- docker-compose#v5.9.0:
3434
run: app
3535
config: docker-compose.tests.yml
3636
env:
@@ -46,15 +46,15 @@ steps:
4646
- plugins:
4747
- docker-login#v2.0.1:
4848
username: xyz
49-
- docker-compose#v5.8.0:
49+
- docker-compose#v5.9.0:
5050
build: app
5151
push: app:index.docker.io/myorg/myrepo:tag
5252
- wait
5353
- command: test.sh
5454
plugins:
5555
- docker-login#v2.0.1:
5656
username: xyz
57-
- docker-compose#v5.8.0:
57+
- docker-compose#v5.9.0:
5858
run: app
5959
```
6060

@@ -71,7 +71,7 @@ steps:
7171
- command: generate-dist.sh
7272
artifact_paths: "dist/*"
7373
plugins:
74-
- docker-compose#v5.8.0:
74+
- docker-compose#v5.9.0:
7575
run: app
7676
volumes:
7777
- "./dist:/folder/dist"
@@ -95,7 +95,7 @@ this plugin offers a `environment` block of its own:
9595
steps:
9696
- command: generate-dist.sh
9797
plugins:
98-
- docker-compose#v5.8.0:
98+
- docker-compose#v5.9.0:
9999
run: app
100100
env:
101101
- BUILDKITE_BUILD_NUMBER
@@ -113,7 +113,7 @@ Alternatively, you can have the plugin add all environment variables defined for
113113
steps:
114114
- command: use-vars.sh
115115
plugins:
116-
- docker-compose#v5.8.0:
116+
- docker-compose#v5.9.0:
117117
run: app
118118
propagate-environment: true
119119
```
@@ -129,7 +129,7 @@ steps:
129129
env:
130130
COMPOSE_PROFILES: "frontend,debug"
131131
plugins:
132-
- docker-compose#v5.8.0:
132+
- docker-compose#v5.9.0:
133133
run: app
134134
```
135135

@@ -166,7 +166,7 @@ Alternatively, if you want to set build arguments when pre-building an image, th
166166
steps:
167167
- command: generate-dist.sh
168168
plugins:
169-
- docker-compose#v5.8.0:
169+
- docker-compose#v5.9.0:
170170
build: app
171171
args:
172172
- MY_CUSTOM_ARG=panda
@@ -183,7 +183,7 @@ If you have multiple steps that use the same service/image (such as steps that r
183183
steps:
184184
- label: ":docker: Build"
185185
plugins:
186-
- docker-compose#v5.8.0:
186+
- docker-compose#v5.9.0:
187187
build: app
188188
push: app
189189
@@ -193,7 +193,7 @@ steps:
193193
command: test.sh
194194
parallelism: 25
195195
plugins:
196-
- docker-compose#v5.8.0:
196+
- docker-compose#v5.9.0:
197197
run: app
198198
require-prebuild: true
199199
```
@@ -212,7 +212,7 @@ steps:
212212
agents:
213213
queue: docker-builder
214214
plugins:
215-
- docker-compose#v5.8.0:
215+
- docker-compose#v5.9.0:
216216
build:
217217
- app
218218
- tests
@@ -226,7 +226,7 @@ steps:
226226
command: test.sh
227227
parallelism: 25
228228
plugins:
229-
- docker-compose#v5.8.0:
229+
- docker-compose#v5.9.0:
230230
run: tests
231231
```
232232

@@ -238,7 +238,7 @@ If you want to push your Docker images ready for deployment, you can use the `pu
238238
steps:
239239
- label: ":docker: Push"
240240
plugins:
241-
- docker-compose#v5.8.0:
241+
- docker-compose#v5.9.0:
242242
push: app
243243
```
244244

@@ -248,7 +248,7 @@ To push multiple images, you can use a list:
248248
steps:
249249
- label: ":docker: Push"
250250
plugins:
251-
- docker-compose#v5.8.0:
251+
- docker-compose#v5.9.0:
252252
push:
253253
- first-service
254254
- second-service
@@ -260,7 +260,7 @@ If you want to push to a specific location (that's not defined as the `image` in
260260
steps:
261261
- label: ":docker: Push"
262262
plugins:
263-
- docker-compose#v5.8.0:
263+
- docker-compose#v5.9.0:
264264
push:
265265
- app:index.docker.io/myorg/myrepo/myapp
266266
- app:index.docker.io/myorg/myrepo/myapp:latest
@@ -274,7 +274,7 @@ A newly spawned agent won't contain any of the docker caches for the first run w
274274
steps:
275275
- label: ":docker: Build an image"
276276
plugins:
277-
- docker-compose#v5.8.0:
277+
- docker-compose#v5.9.0:
278278
build: app
279279
push: app:index.docker.io/myorg/myrepo:my-branch
280280
cache-from:
@@ -285,7 +285,7 @@ steps:
285285
286286
- label: ":docker: Push to final repository"
287287
plugins:
288-
- docker-compose#v5.8.0:
288+
- docker-compose#v5.9.0:
289289
push:
290290
- app:myregistry:port/myrepo/myapp:latest
291291
```
@@ -298,7 +298,7 @@ The values you add in the `cache-from` will be mapped to the corresponding servi
298298
steps:
299299
- label: ":docker: Build an image"
300300
plugins:
301-
- docker-compose#v5.8.0:
301+
- docker-compose#v5.9.0:
302302
build: app
303303
push: app:index.docker.io/myorg/myrepo:my-branch
304304
cache-from:
@@ -309,7 +309,7 @@ steps:
309309
310310
- label: ":docker: Push to final repository"
311311
plugins:
312-
- docker-compose#v5.8.0:
312+
- docker-compose#v5.9.0:
313313
push:
314314
- app:myregistry:port/myrepo/myapp:latest
315315
```
@@ -326,7 +326,7 @@ The `docker` driver can handle most situations but for advance features with the
326326
steps:
327327
- label: ":docker: Build an image"
328328
plugins:
329-
- docker-compose#v5.8.0:
329+
- docker-compose#v5.9.0:
330330
build: app
331331
push: app:index.docker.io/myorg/myrepo:my-branch
332332
cache-from:
@@ -348,7 +348,7 @@ By default, Builder Instances specified by `name` or that are created with `crea
348348
steps:
349349
- label: ":docker: Build an image"
350350
plugins:
351-
- docker-compose#v5.8.0:
351+
- docker-compose#v5.9.0:
352352
build: app
353353
push: app:index.docker.io/myorg/myrepo:my-branch
354354
cache-from:
@@ -367,7 +367,7 @@ By default, Builder Instances specified by `name` or that are created with `crea
367367
steps:
368368
- label: ":docker: Build an image"
369369
plugins:
370-
- docker-compose#v5.8.0:
370+
- docker-compose#v5.9.0:
371371
build: app
372372
push: app:index.docker.io/myorg/myrepo:my-branch
373373
cache-from:
@@ -393,7 +393,7 @@ A newly spawned agent won't contain any of the docker caches for the first run w
393393
steps:
394394
- label: ":docker: Build an image and push cache"
395395
plugins:
396-
- docker-compose#v5.8.0:
396+
- docker-compose#v5.9.0:
397397
build: app
398398
push: app:${DOCKER_REGISTRY}/${IMAGE_REPO}:cache
399399
cache-from:
@@ -410,7 +410,7 @@ steps:
410410
411411
- label: ":docker: Build an image using remote cache"
412412
plugins:
413-
- docker-compose#v5.8.0:
413+
- docker-compose#v5.9.0:
414414
build: app
415415
cache-from:
416416
- "app:type=registry,ref=${DOCKER_REGISTRY}/${IMAGE_REPO}:cache"

0 commit comments

Comments
 (0)