Skip to content

Commit

Permalink
Merge pull request #5333 from ryio1010/frontend-fix-doller
Browse files Browse the repository at this point in the history
 frontend/dockerfile/docs: add $ in mount env example
  • Loading branch information
tonistiigi committed Sep 19, 2024
2 parents 7e4a085 + 855e120 commit 23a2b6f
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 23a2b6f

Please sign in to comment.