Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --skip-pull support to v2 run command
The `docker-compose` plugin currently seems to ignore the `skip-pull` option. For example, this configuration: ``` steps: - command: bundle exec rubocop plugins: - docker-compose#v4.14.0: run: ruby skip-pull: true config: docker-compose.yml cli-version: 2 ``` Results in a command that includes the `--pull` flag, something like this: ``` docker compose -f docker-compose.yml -p buildkite0123456789 build --pull ruby ``` This PR updates run.sh to fully support the `skip-pull` option. The same configuration as above now results in the `--pull` flag being omitted from the generated command: ``` docker compose -f docker-compose.yml -p buildkite0123456789 build ruby ```
- Loading branch information