We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow use of environment variables for podman build --secret in order to maintain feature parity with buildx
podman build --secret
podman build --secret=id=id,env=ENVIRONMENT_VARIABLE
It is possible to write temporary files, but this does not maintain feature parity with buildx
docker/buildx#927
https://docs.docker.com/engine/reference/commandline/buildx_build/#secret
The text was updated successfully, but these errors were encountered:
@flouthoc PTAL @csschwe Interested in opening a PR?
Sorry, something went wrong.
This is a buildah issue so moving it over there.
Looks like this is supported on Linux currently. But does not work with podman on MacOS.
c8002d9#diff-1ff945f9566b4296b404ee43b37ff16d62f13c90fe1a1dc040693524be03ea9b
It looks like podman is not passing the environment variables as expected on MacOS
#3598
Based on what I am seeing I think I should re-open this as a MacOS bug with podman build --secrets when using environment variables.
podman build --secrets
No branches or pull requests
Feature request description
Allow use of environment variables for
podman build --secret
in order to maintain feature parity with buildxSuggest potential solution
podman build --secret=id=id,env=ENVIRONMENT_VARIABLE
Have you considered any alternatives?
It is possible to write temporary files, but this does not maintain feature parity with buildx
Additional context
docker/buildx#927
https://docs.docker.com/engine/reference/commandline/buildx_build/#secret
The text was updated successfully, but these errors were encountered: