From 7e327cf1836394963b07b86ef6a707c927a2fd4e Mon Sep 17 00:00:00 2001 From: rijenkii Date: Mon, 29 May 2023 17:51:26 +0700 Subject: [PATCH] Add a warning to `--secret` docs [NO NEW TESTS NEEDED] Signed-off-by: rijenkii --- docs/buildah-build.1.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/buildah-build.1.md b/docs/buildah-build.1.md index ade7369c0c3..55b8743b00a 100644 --- a/docs/buildah-build.1.md +++ b/docs/buildah-build.1.md @@ -698,6 +698,8 @@ To later use the secret, use the --mount flag in a `RUN` instruction within a `C `RUN --mount=type=secret,id=mysecret cat /run/secrets/mysecret` +Note: Changing the contents of secret files will not trigger a rebuild of layers that use said secrets. + **--security-opt**=[] Security Options