Attempting to use in this intuitive way:
build_&_publish_wordpress:
image: plugins/docker
repo: host/repo/name
registry: host
build_args:
- DB_PASSWORD=${DB_PASSWORD}
secrets: [docker_username, docker_password, db_password]
Insight dockerfile i just do ENV DB_PASSWORD and RUN printenv gets me empty value for my enviroment variable
Documentation is allover the place, sign yml not sign yml (dont sign yml deprecated in 0.6). Change of variable declaration. From $VAR to ${VAR}.
But why does it not provide any variable for this case DRONE build id or anything to the build args?