Skip to content

Commit

Permalink
Merge pull request #49 from buildkite-plugins/update-linter-tag
Browse files Browse the repository at this point in the history
Update Linter tag version
  • Loading branch information
pzeballos authored Feb 22, 2023
2 parents 269d769 + c0e9510 commit 6eca175
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/command.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6eca175

Please sign in to comment.