Skip to content

Commit 75bbb21

Browse files
committed
Added undocumented option
1 parent e908694 commit 75bbb21

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,12 @@ Note that [the effect of this option changes depending on your docker compose CL
294294

295295
Sets the `--entrypoint` argument when running `docker compose`.
296296

297+
#### `require-prebuild` (run only, boolean)
298+
299+
If no prebuilt image is found for the run step, it will cause the plugin to fail the step.
300+
301+
The default is `false`.
302+
297303
#### `service-ports` (run only, boolean)
298304

299305
If set to true, docker compose will run with the service ports enabled and mapped to the host. Equivalent to `--service-ports` in docker-compose.

plugin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ configuration:
9191
type: integer
9292
quiet-pull:
9393
type: boolean
94+
require-prebuild:
95+
type: boolean
9496
rm:
9597
type: boolean
9698
run-image:
@@ -170,6 +172,7 @@ configuration:
170172
pull-retries: [ run ]
171173
push-retries: [ push ]
172174
quiet-pull: [ run ]
175+
require-prebuild: [ run ]
173176
rm: [ run ]
174177
run-image: [ run ]
175178
run-labels: [ run ]

0 commit comments

Comments
 (0)