Sorry, not sure I understand the previous post. Your example output would seem to suggest the secrets are working as expected, assuming something is the secret you wanted injected as a build argument.
--build-arg SUPERSECRET=something
But in general I can confirm that there are no known issues with secrets and build_args_from_env. You should make sure you secrets are configured correctly, as described here. If you need more hands on assistance, we also offer enterprise support.
Sorry, I should have been clearer in the original post. While secrets seem to be working exactly as expected (they get passed as build args), printing secrets during builds looks like a security issue, no?
We don’t want all of our users to be able to view secrets that easily.
@bradrydzewski Can you confirm if this is a security issue? (printing of secrets in build logs without debug mode being enabled). We’re happy to file a fix if you can confirm this.
Hi there,
I’m facing the exact same issue. I’m passing few drone secrets to build_from_env. Everything works perfectly, but in the drone log, the secrets are getting printed. Is there any way i can prevent this printing?