Update build_enhancements.md

Updated secrets to secrets20180828
This commit is contained in:
Anne Henmi 2018-09-06 12:45:36 -06:00 committed by GitHub
parent e18baa92f2
commit 2297c279ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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