mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-02 10:34:27 +03:00
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:
parent
6ea607ce2a
commit
388918cf3d
4
.github/workflows/publish_canary.yml
vendored
4
.github/workflows/publish_canary.yml
vendored
@ -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
|
||||
|
||||
|
4
.github/workflows/publish_release.yml
vendored
4
.github/workflows/publish_release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user