Skip to content

Commit 855e120

Browse files
committed
frontend/dockerfile/docs: add $ in mount env example
Signed-off-by: ryio1010 <[email protected]>
1 parent 83bc8df commit 855e120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ environment variable with the same name.
842842
# syntax=docker/dockerfile:1
843843
FROM alpine
844844
RUN --mount=type=secret,id=API_KEY,env=API_KEY \
845-
some-command --token-from-env API_KEY
845+
some-command --token-from-env $API_KEY
846846
```
847847

848848
Assuming that the `API_KEY` environment variable is set in the build

0 commit comments

Comments
 (0)