@@ -10,7 +10,7 @@ The following pipeline will run `test.sh` inside a `app` service container using
10
10
steps :
11
11
- command : test.sh
12
12
plugins :
13
- - docker-compose#v5.1 .0:
13
+ - docker-compose#v5.2 .0:
14
14
run : app
15
15
` ` `
16
16
19
19
` ` ` yml
20
20
steps:
21
21
- plugins:
22
- - docker-compose#v5.1 .0:
22
+ - docker-compose#v5.2 .0:
23
23
run: app
24
24
command: ["custom", "command", "values"]
25
25
` ` `
@@ -30,7 +30,7 @@ The plugin will honor the value of the `COMPOSE_FILE` environment variable if on
30
30
steps:
31
31
- command: test.sh
32
32
plugins:
33
- - docker-compose#v5.1 .0:
33
+ - docker-compose#v5.2 .0:
34
34
run: app
35
35
config: docker-compose.tests.yml
36
36
env:
@@ -46,15 +46,15 @@ steps:
46
46
- plugins:
47
47
- docker-login#v2.0.1:
48
48
username: xyz
49
- - docker-compose#v5.1 .0:
49
+ - docker-compose#v5.2 .0:
50
50
build: app
51
51
push: app:index.docker.io/myorg/myrepo:tag
52
52
- wait
53
53
- command: test.sh
54
54
plugins:
55
55
- docker-login#v2.0.1:
56
56
username: xyz
57
- - docker-compose#v5.1 .0:
57
+ - docker-compose#v5.2 .0:
58
58
run: app
59
59
` ` `
60
60
71
71
- command: generate-dist.sh
72
72
artifact_paths: "dist/*"
73
73
plugins:
74
- - docker-compose#v5.1 .0:
74
+ - docker-compose#v5.2 .0:
75
75
run: app
76
76
volumes:
77
77
- "./dist:/folder/dist"
@@ -95,7 +95,7 @@ this plugin offers a `environment` block of its own:
95
95
steps:
96
96
- command: generate-dist.sh
97
97
plugins:
98
- - docker-compose#v5.1 .0:
98
+ - docker-compose#v5.2 .0:
99
99
run: app
100
100
env:
101
101
- BUILDKITE_BUILD_NUMBER
@@ -113,7 +113,7 @@ Alternatively, you can have the plugin add all environment variables defined for
113
113
steps:
114
114
- command: use-vars.sh
115
115
plugins:
116
- - docker-compose#v5.1 .0:
116
+ - docker-compose#v5.2 .0:
117
117
run: app
118
118
propagate-environment: true
119
119
` ` `
@@ -148,7 +148,7 @@ Alternatively, if you want to set build arguments when pre-building an image, th
148
148
steps:
149
149
- command: generate-dist.sh
150
150
plugins:
151
- - docker-compose#v5.1 .0:
151
+ - docker-compose#v5.2 .0:
152
152
build: app
153
153
args:
154
154
- MY_CUSTOM_ARG=panda
@@ -165,7 +165,7 @@ If you have multiple steps that use the same service/image (such as steps that r
165
165
steps:
166
166
- label: ":docker: Build"
167
167
plugins:
168
- - docker-compose#v5.1 .0:
168
+ - docker-compose#v5.2 .0:
169
169
build: app
170
170
push: app
171
171
@@ -175,7 +175,7 @@ steps:
175
175
command: test.sh
176
176
parallelism: 25
177
177
plugins:
178
- - docker-compose#v5.1 .0:
178
+ - docker-compose#v5.2 .0:
179
179
run: app
180
180
` ` `
181
181
@@ -191,7 +191,7 @@ steps:
191
191
agents:
192
192
queue: docker-builder
193
193
plugins:
194
- - docker-compose#v5.1 .0:
194
+ - docker-compose#v5.2 .0:
195
195
build:
196
196
- app
197
197
- tests
@@ -205,7 +205,7 @@ steps:
205
205
command: test.sh
206
206
parallelism: 25
207
207
plugins:
208
- - docker-compose#v5.1 .0:
208
+ - docker-compose#v5.2 .0:
209
209
run: tests
210
210
` ` `
211
211
@@ -217,7 +217,7 @@ If you want to push your Docker images ready for deployment, you can use the `pu
217
217
steps:
218
218
- label: ":docker: Push"
219
219
plugins:
220
- - docker-compose#v5.1 .0:
220
+ - docker-compose#v5.2 .0:
221
221
push: app
222
222
` ` `
223
223
@@ -227,7 +227,7 @@ To push multiple images, you can use a list:
227
227
steps:
228
228
- label: ":docker: Push"
229
229
plugins:
230
- - docker-compose#v5.1 .0:
230
+ - docker-compose#v5.2 .0:
231
231
push:
232
232
- first-service
233
233
- second-service
@@ -239,7 +239,7 @@ If you want to push to a specific location (that's not defined as the `image` in
239
239
steps:
240
240
- label: ":docker: Push"
241
241
plugins:
242
- - docker-compose#v5.1 .0:
242
+ - docker-compose#v5.2 .0:
243
243
push:
244
244
- app:index.docker.io/myorg/myrepo/myapp
245
245
- 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
253
253
steps:
254
254
- label: ":docker Build an image"
255
255
plugins:
256
- - docker-compose#v5.1 .0:
256
+ - docker-compose#v5.2 .0:
257
257
build: app
258
258
push: app:index.docker.io/myorg/myrepo:my-branch
259
259
cache-from:
@@ -264,7 +264,7 @@ steps:
264
264
265
265
- label: ":docker: Push to final repository"
266
266
plugins:
267
- - docker-compose#v5.1 .0:
267
+ - docker-compose#v5.2 .0:
268
268
push:
269
269
- app:myregistry:port/myrepo/myapp:latest
270
270
` ` `
@@ -277,7 +277,7 @@ The values you add in the `cache-from` will be mapped to the corresponding servi
277
277
steps:
278
278
- label: ":docker Build an image"
279
279
plugins:
280
- - docker-compose#v5.1 .0:
280
+ - docker-compose#v5.2 .0:
281
281
build: app
282
282
push: app:index.docker.io/myorg/myrepo:my-branch
283
283
cache-from:
@@ -288,7 +288,7 @@ steps:
288
288
289
289
- label: ":docker: Push to final repository"
290
290
plugins:
291
- - docker-compose#v5.1 .0:
291
+ - docker-compose#v5.2 .0:
292
292
push:
293
293
- app:myregistry:port/myrepo/myapp:latest
294
294
` ` `
0 commit comments