You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works in podman and buildah. I recently submitted a PR to update the podman build documentation Examples to demonstrate how to use podman build with secrets in environment variables, and I am planning to submit a similar one for the buildah documentation. There is already an example on Issue #5808, with the clarification that it was just using the wrong case in the id field of the buildah command.
Feature request description
Since Dockerfile 1.10 the Docker Engine can mount secrets as environment variables specified in the RUN command.
https://docs.docker.com/build/buildkit/dockerfile-release-notes/#1100
https://docs.docker.com/reference/dockerfile/#example-mount-as-environment-variable
It would be useful for podman build to support it. It's already possible using podman run.
The text was updated successfully, but these errors were encountered: