From 4bfd5f496e14145977a4080fca3660f2eee7af32 Mon Sep 17 00:00:00 2001 From: wuast94 Date: Fri, 26 Apr 2024 22:33:18 +0200 Subject: [PATCH] Update build-container.yml to set up QEMU and Docker Buildx --- .github/workflows/build-container.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index cd14f26..67aa3c0 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -15,8 +15,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: all + - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v1 @@ -31,4 +36,5 @@ jobs: context: . file: ./Dockerfile push: true - tags: ghcr.io/${{ github.repository }}/nodered-ffmpeg:3.1.9 \ No newline at end of file + tags: ghcr.io/${{ github.repository }}/nodered-ffmpeg:3.1.9 + platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64 \ No newline at end of file