`image_pull_secrets` from vault secrets plugin not working

I was trying something like the following:

kind: pipeline
name: Build image

steps:
  - ...
  - ...

image_pull_secrets:
  - DOCKER_CONFIG_JSON

---

kind: secret
name: DOCKER_CONFIG_JSON
get:
  path: cd/data/docker
  name: config_json

But I get the following error during build:

Build image: Error response from daemon: Get https://docker.company.com/v2/alpine/manifests/latest: no basic auth credentials

I already confirmed the vault secrets plugin is working because I’m using it in the steps.

Is this supported or I need to use a dedicated registry plugin?
See: 1.0.0-rc.6 release notes