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

Signed-off-by: Billy Owire <billyowire95@gmail.com>
  • Loading branch information
tonistiigi authored and billywr committed Sep 23, 2024
2 parents 7e4a085 + 855e120 commit 8b8061b
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 8b8061b

Please sign in to comment.