Skip to content

Commit

Permalink
Added documentation for target option
Browse files Browse the repository at this point in the history
  • Loading branch information
toote committed Oct 12, 2022
1 parent 148de07 commit dfc2402
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Whether to skip the repository checkout phase. This is useful for steps that use

### `skip-pull` (optional, run only)

Completely avoid running any `pull` command. Images being used will need to be present in the machine from before or have been built in the same step. Could be useful to avoid hitting rate limits when you can be sure the operation is unnecessary. Note that it is possible other commands run in the plugin's lifecycle will trigger a pull of necessary images.
Completely avoid running any `pull` command. Images being used will need to be present in the machine from before or have been built in the same step. Could be useful to avoid hitting rate limits when you can be sure the operation is unnecessary. Note that it is possible other commands run in the plugin's lifecycle will trigger a pull of necessary images.

### `workdir` (optional, run only)

Expand Down Expand Up @@ -508,6 +508,12 @@ This option can also be configured on the agent machine using the environment va

A list of images to pull caches from in the format `service:index.docker.io/myorg/myrepo/myapp:tag` before building, ignoring any failures. If multiple images are listed for a service, the first one to successfully pull will be used. Requires docker-compose file version `3.2+`.

### `target` (optional, build only)

Allow for intermediate builds with `--target VALUE` options.

Note that there is a single build command run for all services so the target value will apply to all of them.

### `volumes` (optional, run only)

A list of volumes to mount into the container. If a matching volume exists in the Docker Compose config file, this option will override that definition.
Expand Down

0 comments on commit dfc2402

Please sign in to comment.