From 855e120adf4482eacff3a6d18c5b42de473a9f94 Mon Sep 17 00:00:00 2001 From: ryio1010 Date: Fri, 13 Sep 2024 22:26:57 +0900 Subject: [PATCH] frontend/dockerfile/docs: add $ in mount env example Signed-off-by: ryio1010 --- frontend/dockerfile/docs/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dockerfile/docs/reference.md b/frontend/dockerfile/docs/reference.md index 1cf73cd242c5..2db0cf7fbcd4 100644 --- a/frontend/dockerfile/docs/reference.md +++ b/frontend/dockerfile/docs/reference.md @@ -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