Skip to content

Commit e3ff1fb

Browse files
authored
Merge pull request #464 from buildkite-plugins/bm/update_version
Set examples to latest release.
2 parents 8a77104 + f2ee529 commit e3ff1fb

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

docs/examples.md

+26-26
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.4.1:
13+
- docker-compose#v5.5.0:
1414
run: app
1515
```
1616
@@ -19,7 +19,7 @@ steps:
1919
```yml
2020
steps:
2121
- plugins:
22-
- docker-compose#v5.4.1:
22+
- docker-compose#v5.5.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.4.1:
33+
- docker-compose#v5.5.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.4.1:
49+
- docker-compose#v5.5.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.4.1:
57+
- docker-compose#v5.5.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.4.1:
74+
- docker-compose#v5.5.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.4.1:
98+
- docker-compose#v5.5.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.4.1:
116+
- docker-compose#v5.5.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.4.1:
132+
- docker-compose#v5.5.0:
133133
run: app
134134
```
135135

@@ -165,7 +165,7 @@ Alternatively, if you want to set build arguments when pre-building an image, th
165165
steps:
166166
- command: generate-dist.sh
167167
plugins:
168-
- docker-compose#v5.4.1:
168+
- docker-compose#v5.5.0:
169169
build: app
170170
args:
171171
- MY_CUSTOM_ARG=panda
@@ -182,7 +182,7 @@ If you have multiple steps that use the same service/image (such as steps that r
182182
steps:
183183
- label: ":docker: Build"
184184
plugins:
185-
- docker-compose#v5.4.1:
185+
- docker-compose#v5.5.0:
186186
build: app
187187
push: app
188188
@@ -192,7 +192,7 @@ steps:
192192
command: test.sh
193193
parallelism: 25
194194
plugins:
195-
- docker-compose#v5.4.1:
195+
- docker-compose#v5.5.0:
196196
run: app
197197
require-prebuild: true
198198
```
@@ -211,7 +211,7 @@ steps:
211211
agents:
212212
queue: docker-builder
213213
plugins:
214-
- docker-compose#v5.4.1:
214+
- docker-compose#v5.5.0:
215215
build:
216216
- app
217217
- tests
@@ -225,7 +225,7 @@ steps:
225225
command: test.sh
226226
parallelism: 25
227227
plugins:
228-
- docker-compose#v5.4.1:
228+
- docker-compose#v5.5.0:
229229
run: tests
230230
```
231231

@@ -237,7 +237,7 @@ If you want to push your Docker images ready for deployment, you can use the `pu
237237
steps:
238238
- label: ":docker: Push"
239239
plugins:
240-
- docker-compose#v5.4.1:
240+
- docker-compose#v5.5.0:
241241
push: app
242242
```
243243

@@ -247,7 +247,7 @@ To push multiple images, you can use a list:
247247
steps:
248248
- label: ":docker: Push"
249249
plugins:
250-
- docker-compose#v5.4.1:
250+
- docker-compose#v5.5.0:
251251
push:
252252
- first-service
253253
- second-service
@@ -259,7 +259,7 @@ If you want to push to a specific location (that's not defined as the `image` in
259259
steps:
260260
- label: ":docker: Push"
261261
plugins:
262-
- docker-compose#v5.4.1:
262+
- docker-compose#v5.5.0:
263263
push:
264264
- app:index.docker.io/myorg/myrepo/myapp
265265
- app:index.docker.io/myorg/myrepo/myapp:latest
@@ -273,7 +273,7 @@ A newly spawned agent won't contain any of the docker caches for the first run w
273273
steps:
274274
- label: ":docker: Build an image"
275275
plugins:
276-
- docker-compose#v5.4.1:
276+
- docker-compose#v5.5.0:
277277
build: app
278278
push: app:index.docker.io/myorg/myrepo:my-branch
279279
cache-from:
@@ -284,7 +284,7 @@ steps:
284284
285285
- label: ":docker: Push to final repository"
286286
plugins:
287-
- docker-compose#v5.4.1:
287+
- docker-compose#v5.5.0:
288288
push:
289289
- app:myregistry:port/myrepo/myapp:latest
290290
```
@@ -297,7 +297,7 @@ The values you add in the `cache-from` will be mapped to the corresponding servi
297297
steps:
298298
- label: ":docker: Build an image"
299299
plugins:
300-
- docker-compose#v5.4.1:
300+
- docker-compose#v5.5.0:
301301
build: app
302302
push: app:index.docker.io/myorg/myrepo:my-branch
303303
cache-from:
@@ -308,7 +308,7 @@ steps:
308308
309309
- label: ":docker: Push to final repository"
310310
plugins:
311-
- docker-compose#v5.4.1:
311+
- docker-compose#v5.5.0:
312312
push:
313313
- app:myregistry:port/myrepo/myapp:latest
314314
```
@@ -325,7 +325,7 @@ The `docker` driver can handle most situations but for advance features with the
325325
steps:
326326
- label: ":docker: Build an image"
327327
plugins:
328-
- docker-compose#v5.4.1:
328+
- docker-compose#v5.5.0:
329329
build: app
330330
push: app:index.docker.io/myorg/myrepo:my-branch
331331
cache-from:
@@ -347,7 +347,7 @@ By default, Builder Instances specified by `name` or that are created with `crea
347347
steps:
348348
- label: ":docker: Build an image"
349349
plugins:
350-
- docker-compose#v5.4.1:
350+
- docker-compose#v5.5.0:
351351
build: app
352352
push: app:index.docker.io/myorg/myrepo:my-branch
353353
cache-from:
@@ -366,7 +366,7 @@ By default, Builder Instances specified by `name` or that are created with `crea
366366
steps:
367367
- label: ":docker: Build an image"
368368
plugins:
369-
- docker-compose#v5.4.1:
369+
- docker-compose#v5.5.0:
370370
build: app
371371
push: app:index.docker.io/myorg/myrepo:my-branch
372372
cache-from:
@@ -392,7 +392,7 @@ A newly spawned agent won't contain any of the docker caches for the first run w
392392
steps:
393393
- label: ":docker: Build an image and push cache"
394394
plugins:
395-
- docker-compose#v5.4.1:
395+
- docker-compose#v5.5.0:
396396
build: app
397397
push: app:${DOCKER_REGISTRY}/${IMAGE_REPO}:cache
398398
cache-from:
@@ -409,7 +409,7 @@ steps:
409409
410410
- label: ":docker: Build an image using remote cache"
411411
plugins:
412-
- docker-compose#v5.4.1:
412+
- docker-compose#v5.5.0:
413413
build: app
414414
cache-from:
415415
- "app:type=registry,ref=${DOCKER_REGISTRY}/${IMAGE_REPO}:cache"

0 commit comments

Comments
 (0)