Skip to content

Commit 6586087

Browse files
authored
Prepare for next release: Update plugin version
1 parent d262dbd commit 6586087

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/examples.md

+20-20
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.1.0:
13+
- docker-compose#v5.2.0:
1414
run: app
1515
```
1616
@@ -19,7 +19,7 @@ steps:
1919
```yml
2020
steps:
2121
- plugins:
22-
- docker-compose#v5.1.0:
22+
- docker-compose#v5.2.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.1.0:
33+
- docker-compose#v5.2.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.1.0:
49+
- docker-compose#v5.2.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.1.0:
57+
- docker-compose#v5.2.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.1.0:
74+
- docker-compose#v5.2.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.1.0:
98+
- docker-compose#v5.2.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.1.0:
116+
- docker-compose#v5.2.0:
117117
run: app
118118
propagate-environment: true
119119
```
@@ -148,7 +148,7 @@ Alternatively, if you want to set build arguments when pre-building an image, th
148148
steps:
149149
- command: generate-dist.sh
150150
plugins:
151-
- docker-compose#v5.1.0:
151+
- docker-compose#v5.2.0:
152152
build: app
153153
args:
154154
- MY_CUSTOM_ARG=panda
@@ -165,7 +165,7 @@ If you have multiple steps that use the same service/image (such as steps that r
165165
steps:
166166
- label: ":docker: Build"
167167
plugins:
168-
- docker-compose#v5.1.0:
168+
- docker-compose#v5.2.0:
169169
build: app
170170
push: app
171171
@@ -175,7 +175,7 @@ steps:
175175
command: test.sh
176176
parallelism: 25
177177
plugins:
178-
- docker-compose#v5.1.0:
178+
- docker-compose#v5.2.0:
179179
run: app
180180
```
181181

@@ -191,7 +191,7 @@ steps:
191191
agents:
192192
queue: docker-builder
193193
plugins:
194-
- docker-compose#v5.1.0:
194+
- docker-compose#v5.2.0:
195195
build:
196196
- app
197197
- tests
@@ -205,7 +205,7 @@ steps:
205205
command: test.sh
206206
parallelism: 25
207207
plugins:
208-
- docker-compose#v5.1.0:
208+
- docker-compose#v5.2.0:
209209
run: tests
210210
```
211211

@@ -217,7 +217,7 @@ If you want to push your Docker images ready for deployment, you can use the `pu
217217
steps:
218218
- label: ":docker: Push"
219219
plugins:
220-
- docker-compose#v5.1.0:
220+
- docker-compose#v5.2.0:
221221
push: app
222222
```
223223

@@ -227,7 +227,7 @@ To push multiple images, you can use a list:
227227
steps:
228228
- label: ":docker: Push"
229229
plugins:
230-
- docker-compose#v5.1.0:
230+
- docker-compose#v5.2.0:
231231
push:
232232
- first-service
233233
- second-service
@@ -239,7 +239,7 @@ If you want to push to a specific location (that's not defined as the `image` in
239239
steps:
240240
- label: ":docker: Push"
241241
plugins:
242-
- docker-compose#v5.1.0:
242+
- docker-compose#v5.2.0:
243243
push:
244244
- app:index.docker.io/myorg/myrepo/myapp
245245
- app:index.docker.io/myorg/myrepo/myapp:latest
@@ -253,7 +253,7 @@ A newly spawned agent won't contain any of the docker caches for the first run w
253253
steps:
254254
- label: ":docker Build an image"
255255
plugins:
256-
- docker-compose#v5.1.0:
256+
- docker-compose#v5.2.0:
257257
build: app
258258
push: app:index.docker.io/myorg/myrepo:my-branch
259259
cache-from:
@@ -264,7 +264,7 @@ steps:
264264
265265
- label: ":docker: Push to final repository"
266266
plugins:
267-
- docker-compose#v5.1.0:
267+
- docker-compose#v5.2.0:
268268
push:
269269
- app:myregistry:port/myrepo/myapp:latest
270270
```
@@ -277,7 +277,7 @@ The values you add in the `cache-from` will be mapped to the corresponding servi
277277
steps:
278278
- label: ":docker Build an image"
279279
plugins:
280-
- docker-compose#v5.1.0:
280+
- docker-compose#v5.2.0:
281281
build: app
282282
push: app:index.docker.io/myorg/myrepo:my-branch
283283
cache-from:
@@ -288,7 +288,7 @@ steps:
288288
289289
- label: ":docker: Push to final repository"
290290
plugins:
291-
- docker-compose#v5.1.0:
291+
- docker-compose#v5.2.0:
292292
push:
293293
- app:myregistry:port/myrepo/myapp:latest
294294
```

0 commit comments

Comments
 (0)