From e444f5bb5c0301f72a86f5d05ff5c36c2f75fc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20M=C3=A4del?= Date: Tue, 14 Mar 2023 14:45:06 +0100 Subject: [PATCH] CI: switch to docker buildx and enable arm64 docker images --- .github/workflows/build-docker.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 7731628..8c04089 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -14,5 +14,13 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag rofl256/whiteboard:$(date +%s) + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: build the image + run: | + docker buildx build \ + --file Dockerfile \ + --tag rofl256/whiteboard:$(date +%s) \ + --platform linux/amd64,linux/arm64 .