Closed dragonraid closed 1 year ago
This PR adds support for passing secret file https://docs.docker.com/engine/reference/commandline/buildx_build/#secret.
This file contains comma-delimited secret KEY=VALUE pair, that can be source in Dockerfile like this:
RUN --mount=type=secret,id=SECRET_ENV_VARS,target=/run/secrets/SECRET_ENV_VARS \ . /run/secrets/SECRET_ENV_VARS && <my_command_using_secret(s)>
This PR adds support for passing secret file https://docs.docker.com/engine/reference/commandline/buildx_build/#secret.
This file contains comma-delimited secret KEY=VALUE pair, that can be source in Dockerfile like this: