Drone get no auth with Harbor

Hi,

if i make a login from the shell with "sudo docker login myownregistry.com, then login success.

with drone:

"unauthorized: unauthorized to access repository: xx/xxxx, action: push: unauthorized to access repository: xx/xxxx, action: push"

my drone.yml

steps:
  - name: build-myapp                 
    image: plugins/docker:latest                          
    settings:
      username:
        from_secret: user
      password:
        from_secret: password
      repo: registry.xxx.xx/xx/myapp     
      tags: latest                                  
      registry: registry.xxx.xx
      username: user
      password: password
      insecure: true

what is my problem?

if i make a login from the shell with "sudo docker login myownregistry.com, then login success.

unauthorized to access repository

This error suggests the login was successful, but the account you are using has insufficient permission to push the image. If the login failed you would see a login error message in the log output in the user interface.

This is what a failed login looks like:

another thing you can do is make sure the secrets are configured correctly and are being used to populate the username and password fields. If username and password are not being populated by secrets you would see an entry in the log output indicating the step is running in guest mode.

This is what missing credentials and guest mode looks like:

If you find this is a problem with secrets, we provide a troubleshooting guide that describes common problems. The guide also provide instructions for the additional information that should be provided to receive support.

drone shows:

with robot account

+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock
5 Registry credentials or Docker config not provided. Guest mode enabled.

without robot account

+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock --insecure-registry registry.robin-data.io
5 Detected registry credentials

Have not resolvet the problem!