Add CI for testing build of docker-arm64

This commit is contained in:
syeopite 2021-08-09 12:30:23 -07:00
parent 7ddab5b8cd
commit 6cb88a82a4
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

View File

@ -91,3 +91,29 @@ jobs:
- name: Test Docker
run: while curl -Isf http://localhost:3000; do sleep 1; done
build-docker-arm64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker ARM64 image
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile.arm64
platforms: linux/arm64/v8
- name: Test Docker
run: while curl -Isf http://localhost:3000; do sleep 1; done