Skip to content

Commit

Permalink
Update build_enhancements.md
Browse files Browse the repository at this point in the history
Updated secrets to secrets20180828
  • Loading branch information
ahh-docker authored Sep 6, 2018
1 parent e18baa9 commit 2297c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion develop/develop-images/build_enhancements.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ And with a Dockerfile that specifies use of a buildkit frontend `tonistiigi/dock

For example:
```
# syntax = tonistiigi/dockerfile:secrets20180808
# syntax = dockerfile:secrets20180828
FROM alpine
RUN --mount=type=secret,id=mysecret cat /run/secrets/mysecret # shows secret from default secret location
RUN --mount=type=secret,id=mysecret,dst=/foobar cat /foobar # shows secret from custom secret location
Expand Down

0 comments on commit 2297c27

Please sign in to comment.