diff --git a/README.md b/README.md index 9bcf747..c5c028c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The id of the plugin (e.g. `my-org/my-plugin`) ### `image-version` -The docker tag of the `buildkite/plugin-linter` image to use. Default is `2.0.1` +The docker tag of the `buildkite/plugin-linter` image to use. Default is `2.0.2` ### `readme` (optional) diff --git a/hooks/command b/hooks/command index 42a44d7..cbe52d3 100755 --- a/hooks/command +++ b/hooks/command @@ -20,7 +20,7 @@ args=( "--env" "PLUGIN_ID=$BUILDKITE_PLUGIN_PLUGIN_LINTER_ID" ) -TAG=${BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION:-v2.0.1} +TAG=${BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION:-v2.0.2} if [[ -n "${BUILDKITE_PLUGIN_PLUGIN_LINTER_README:-}" ]] ; then args+=("--env" "PLUGIN_README=$BUILDKITE_PLUGIN_PLUGIN_LINTER_README") diff --git a/tests/command.bats b/tests/command.bats index 2691381..3a10832 100644 --- a/tests/command.bats +++ b/tests/command.bats @@ -53,7 +53,7 @@ setup() { stub docker \ "pull buildkite/plugin-linter : echo pulled image" \ - "run -it --rm --volume /plugin:/plugin:ro --env PLUGIN_ID=my-plugin buildkite/plugin-linter:v2.0.1 : echo linted" + "run -it --rm --volume /plugin:/plugin:ro --env PLUGIN_ID=my-plugin buildkite/plugin-linter:v2.0.2 : echo linted" run "$PWD"/hooks/command