mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix: align default docker image download with the docker integration (#9842)
The docker image that we download should match the one we expect while running tests in docker.
This commit is contained in:
parent
4b22e1d54a
commit
f15ff0354b
@ -115,7 +115,7 @@ program
|
||||
const installDockerImage = args.some(arg => arg === 'docker-image');
|
||||
args = args.filter(arg => arg !== 'docker-image');
|
||||
if (installDockerImage) {
|
||||
const imageName = `mcr.microsoft.com/playwright:v${getPlaywrightVersion()}`;
|
||||
const imageName = `mcr.microsoft.com/playwright:v${getPlaywrightVersion()}-focal`;
|
||||
const { code } = await spawnAsync('docker', ['pull', imageName], { stdio: 'inherit' });
|
||||
if (code !== 0) {
|
||||
console.log('Failed to pull docker image');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user