Skip to content

Commit cf66f28

Browse files
committed
fix(harness): update Dockerfile comment to accurately describe token handling
Tokens are baked into image layers at build time — the previous comment incorrectly implied they were not stored. Updated to make the security posture explicit: the image itself must be treated as a secret.
1 parent e1d63ba commit cf66f28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/harness/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg -o
1515
&& apt-get install -y gh \
1616
&& rm -rf /var/lib/apt/lists/*
1717

18-
# Tokens are passed as build args only — not stored in env vars
18+
# Tokens are baked into the image at build time. This image must be treated as a
19+
# secret and stored only in a registry with equivalent access controls.
1920
ARG CLONE_TOKEN
2021
ARG GITHUB_TOKEN
2122

0 commit comments

Comments
 (0)