We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83bc8df commit 855e120Copy full SHA for 855e120
frontend/dockerfile/docs/reference.md
@@ -842,7 +842,7 @@ environment variable with the same name.
842
# syntax=docker/dockerfile:1
843
FROM alpine
844
RUN --mount=type=secret,id=API_KEY,env=API_KEY \
845
- some-command --token-from-env API_KEY
+ some-command --token-from-env $API_KEY
846
```
847
848
Assuming that the `API_KEY` environment variable is set in the build
0 commit comments