docker / buildx

Docker CLI plugin for extended build capabilities with BuildKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

secret handling documentation for env missing attribute keys

betelgeuse opened this issue · comments

Contributing guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

https://docs.docker.com/reference/cli/docker/buildx/build/#secret

Under env type secret there's a text: "env - Secret environment variable. id used if unset, otherwise will look for src, source if id unset."

This implies that there's undocumented src and source attributes.

Expected behaviour

Document the src and source attributes

Actual behaviour

They are not documented under env

Buildx version

4b3c3c8

Docker info

No response

Builders list

N/A

Configuration

N/A

Build logs

No response

Additional info

- `env` - Secret environment variable. `id` used if unset, otherwise will look for `src`, `source` if `id` unset.