buildkite-plugins / docker-buildkite-plugin

🐳📦 Run any build step in a Docker container
MIT License
113 stars 106 forks source link

bizarre error #100

Closed nhooyr closed 5 years ago

nhooyr commented 5 years ago

Trying to use this plugin but my agent is giving:

🚨 Error: Failed to parse a plugin definition: Configuration for "github.com/buildkite-plugins/image-buildkite-plugin" is not a hash

Using latest docker image.

pipeline.yml looks like:

steps:
- label: 'go env'
  command: go env
  plugins:
  - docker#v3.0.1:
    image: "golang:latest"
nhooyr commented 5 years ago

Ah, hash means map lol.

nhooyr commented 5 years ago

My bad, my pipeline is clearly incorrect and the config for the docker plugin is not a hash.