This probably applies other things too, but currently I’m wondering if this is possible.
I’m trying to use the docker-login plugin GitHub - buildkite-plugins/docker-login-buildkite-plugin: 🐳 Login to Docker registries
and I want to supply the username from an environment variable.
The environment variable is defined on the agent.
steps: - command: ./run_build.sh plugins: - docker-login#v2.0.1: username: $MY_USER_FROM_ENV password-env: MY_DOCKER_LOGIN_PASSWORD
Can this be done?
(In general I often struggle when resolving environment variables in pipelines)