devops: setup Docker Qemu for arm64 docker builds (#10771)

We might also need to install docker buildx if this is not enough.

References #10351
This commit is contained in:
Andrey Lushnikov 2021-12-07 16:17:30 -08:00 committed by GitHub
parent 6ea607ce2a
commit 388918cf3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,10 @@ jobs:
login-server: playwright.azurecr.io
username: playwright
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker QEMU for arm64 docker builds
uses: docker/setup-qemu-action@v1
with:
platforms: arm64
- name: publish docker canary
run: ./utils/docker/publish_docker.sh canary

View File

@ -64,6 +64,10 @@ jobs:
login-server: playwright.azurecr.io
username: playwright
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker QEMU for arm64 docker builds
uses: docker/setup-qemu-action@v1
with:
platforms: arm64
- run: npm i -g npm@8
- run: npm ci
- run: npm run build