Build Docker image for arm64 (#3630)

This is needed in order for the esphome-docs Docker image to run on Docker Desktop on MacBook M1/2/3.
This commit is contained in:
Alex Boyd 2024-02-24 05:00:42 -07:00 committed by GitHub
parent a2df0f7838
commit d3dab083db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,9 @@ jobs:
-
name: Checkout source code
uses: actions/checkout@v4.1.0
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@ -43,6 +46,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
esphome/esphome-docs:latest
ghcr.io/esphome/esphome-docs:latest