From e68a7e2ad6838bfdaab7ef3d2dce55e6610c854b Mon Sep 17 00:00:00 2001 From: JennyNou <167806377+JennyNou@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:44:04 -0400 Subject: [PATCH] Revert docker file changes that did not fix authentication error --- Dockerfile.playwright | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile.playwright b/Dockerfile.playwright index d74d866a..e9dcce23 100644 --- a/Dockerfile.playwright +++ b/Dockerfile.playwright @@ -5,9 +5,6 @@ FROM mcr.microsoft.com/playwright:v1.48.0-noble # Set the working directory in the container WORKDIR /app -# Accept GitHub token as a build argument -ARG GITHUB_TOKEN - # Copy package.json and package-lock.json COPY package*.json ./ @@ -17,8 +14,7 @@ RUN npm install # Copy playwright-tests package files + authenticated .npmrc, then install COPY playwright-tests/package*.json ./playwright-tests/ COPY playwright-tests/.npmrc ./playwright-tests/ -RUN --mount=type=secret,id=GITHUB_TOKEN \ - cd playwright-tests && GITHUB_TOKEN=$(cat /run/secrets/GITHUB_TOKEN) npm install +RUN cd playwright-tests && npm install # Install Playwright browsers RUN npx playwright install chromium --with-deps