From fb64de62f953fe49ae8a6bd69868ca9462e85a1b Mon Sep 17 00:00:00 2001 From: "Pol (Paula)" Date: Fri, 21 Apr 2023 17:18:31 -0300 Subject: [PATCH 1/3] Update image version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a36a8dc..93e95c5 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.2` +The docker tag of the `buildkite/plugin-linter` image to use. Default is `2.0.3` ### `readme` (optional) From 1540462ae5df2d0bffda98dc846281617d178d55 Mon Sep 17 00:00:00 2001 From: "Pol (Paula)" Date: Fri, 21 Apr 2023 17:19:57 -0300 Subject: [PATCH 2/3] update command with new image version --- hooks/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/command b/hooks/command index cbe52d3..4faa2e1 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.2} +TAG=${BUILDKITE_PLUGIN_PLUGIN_LINTER_IMAGE_VERSION:-v2.0.3} if [[ -n "${BUILDKITE_PLUGIN_PLUGIN_LINTER_README:-}" ]] ; then args+=("--env" "PLUGIN_README=$BUILDKITE_PLUGIN_PLUGIN_LINTER_README") From 5b2956e60be5b478d56535f676d3b388dbfc4e3b Mon Sep 17 00:00:00 2001 From: "Pol (Paula)" Date: Fri, 21 Apr 2023 17:20:37 -0300 Subject: [PATCH 3/3] update tests --- tests/command.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/command.bats b/tests/command.bats index 3a10832..0de8383 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.2 : echo linted" + "run -it --rm --volume /plugin:/plugin:ro --env PLUGIN_ID=my-plugin buildkite/plugin-linter:v2.0.3 : echo linted" run "$PWD"/hooks/command