Skip to content

Commit

Permalink
frontend/dockerfile/docs: add $ in mount env example
Browse files Browse the repository at this point in the history
Signed-off-by: ryio1010 <[email protected]>
  • Loading branch information
ryio1010 committed Sep 13, 2024
1 parent 83bc8df commit 855e120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/dockerfile/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ environment variable with the same name.
# syntax=docker/dockerfile:1
FROM alpine
RUN --mount=type=secret,id=API_KEY,env=API_KEY \
some-command --token-from-env API_KEY
some-command --token-from-env $API_KEY
```

Assuming that the `API_KEY` environment variable is set in the build
Expand Down

0 comments on commit 855e120

Please sign in to comment.