From 7a8e94ee64fd98928d4b76284071260626363357 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Sun, 7 May 2023 00:22:08 -0400 Subject: [PATCH] Added PR multiarch --- .github/workflows/docker-pr.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-pr.yml b/.github/workflows/docker-pr.yml index b2dfbe3..d66a2b2 100644 --- a/.github/workflows/docker-pr.yml +++ b/.github/workflows/docker-pr.yml @@ -23,5 +23,16 @@ jobs: name: "version.json" json: '{"type": "docker", "tag": "nightly", "commit": "${{ steps.vars.outputs.sha_short }}", "date": "${{ steps.date.outputs.date }}"}' dir: 'backend/' - - name: Build docker images - run: docker build . -t tzahi12345/youtubedl-material:nightly-pr \ No newline at end of file + - name: setup platform emulator + uses: docker/setup-qemu-action@v1 + - name: setup multi-arch docker build + uses: docker/setup-buildx-action@v1 + - name: build & push images + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm,linux/arm64/v8 + #platforms: linux/amd64 + push: false + tags: tzahi12345/youtubedl-material:nightly-pr \ No newline at end of file