Docker plugin dry-run option still pushing

I have a pipeline that builds a docker image. Everything works great other than the fact that the option “dry-run”: True seems to be broken, it pushes the test image to the repository.
I use starlark configuration, here’s a section of the output of drone starlark --stdout drone.star

- name: something-something
  image: plugins/docker
  settings:
    context: ./xxx/xxx/
    dockerfile: ./xxx/xxx/Dockerfile
    dry-run: true
    password:
      from_secret: super_secret
    registry: ghcr.io
    repo: ghcr.io/XXX/XXX
    tags:
    - test
    username:
      from_secret: registry_username

Is there something I’m doing wrong or is this option broken?

dry-run shold be dry_run as per the plugin’s reference page.

Well this was incredibly embarrassing, not sure how I missed this…

Thanks a bunch and sorry for overlooking such a simple thing!

1 Like