Problem with private repository

Hi

I have problems with private registry.

I have 3 steps in a pipeline:
First one build php with specific config and publishes it to private registry - it works fine.
The second pulls built php image and runs stuff like composer install etc. on it - it fails immediately with message “Error response from daemon: Get https://******************:5443/v2/control-php/manifests/ref-latest: no basic auth credentials”.

Attached please find my .drone.yml:

kind: pipeline
type: docker
name: control

steps:
  - name: publish-php
    group: publish
    image: plugins/docker:latest
    pull: if-not-exists
    settings:
      username:
        from_secret: DOCKER_USERNAME
      password:
        from_secret: DOCKER_PASSWORD
      repo: ********************:5443/control-php
      registry: ********************:5443
      dockerfile: build/php/Dockerfile
      context: ./
      purge: false
      cache_from:
        - "********************:5443/control-php:${DRONE_BRANCH}-latest"
      tags:
        - ${DRONE_BRANCH}-latest

  - name: build-control
    group: build
    image: ********************:5443/control-php:${DRONE_BRANCH}-latest
    pull: if-not-exists
    volumes:
      - name: composer-cache
        path: /var/lib/cache/composer
    environment:
      GIT_TOKEN:
        from_secret: GIT_TOKEN
    commands:
      - cd app/
      - composer config -g github-oauth.github.com $${GIT_TOKEN}
      - composer install

  - name: publish-control
    group: publish
    image: plugins/docker:latest
    pull: if-not-exists
    settings:
      username:
        from_secret: DOCKER_USERNAME
      password:
        from_secret: DOCKER_PASSWORD
      repo: ********************:5443/control
      registry: ********************:5443
      dockerfile: build/new/Dockerfile
      context: ./
      purge: false
      build_args:
        - BRANCH=${DRONE_BRANCH}
      tags:
        - ${DRONE_BRANCH}-latest

trigger:
  branch:
    - master
    - dev
    - stage
    - test
    - ref
  event:
    - push
    - rollback
    - pull_request

image_pull_secrets:
  - DOCKER_CONFIG

volumes:
  - name: composer-cache
    host:
      path: /var/lib/cache/composer

Output of drone orgsecret ls:

BITBUCKET_SSH_KEY
Organization:       whenspeak
Pull Request Read:  true
Pull Request Write: true

DOCKER_CONFIG
Organization:       whenspeak
Pull Request Read:  true
Pull Request Write: true

DOCKER_PASSWORD
Organization:       whenspeak
Pull Request Read:  true
Pull Request Write: true

DOCKER_USERNAME
Organization:       whenspeak
Pull Request Read:  true
Pull Request Write: true

GIT_TOKEN
Organization:       whenspeak
Pull Request Read:  true
Pull Request Write: true

docker build info:

Number: 36
Status: error
Event: push
Commit: e8a2d70df952f4aacf89ef7c14e3b03c0d7df39f
Branch: ref
Ref: refs/heads/ref
Author:  <[email protected]>
Message: Merged in dev (pull request #28)

Dev