Use the env file when buiding playwright common docker (#33483)

* Use the env file when buiding playwrigt common docker

The docker builds failed due to the variable for being available

* Also we surely don't need this twice
This commit is contained in:
David Baker
2026-05-13 13:07:16 +00:00
committed by GitHub
parent 8400f56004
commit b6c24cb04f
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
# Expose the argument to this build stage
ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
WORKDIR /work
+1
View File
@@ -32,6 +32,7 @@
"platforms": ["linux/amd64", "linux/arm64"],
"provenance": "true",
"sbom": true,
"env-file": ["{projectRoot}/.env.docker:build"],
"build-args": ["PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION"],
"context": "{projectRoot}",
"metadata": {