Drone CI secrets not populating Drone CI secrets not populating docker docker

Drone CI secrets not populating


The secrets need to be injected into the docker container via the environment with the names docker_username and and docker_password.

Your .drone.yml file should look something like this:

pipeline:  docker:    image: plugins/docker    repo: username/app    registry: registry.domain.com:5000    insecure: true    pull: true    secrets:      - source: registry_username        target: docker_username      - source: registry_password        target: docker_password

See the drone plugin docs for more configuration options.


here is to manage drone secret key http://docs.drone.io/manage-secrets/#pull-requests

also, you might wanna consider using .netrc inside Dockerfile on your build, so your credential is embeded inside of your docker images