From 00af40f87bc39b539359dfe3571eae11b6e4aac7 Mon Sep 17 00:00:00 2001 From: Shahrad Elahi Date: Tue, 10 Sep 2024 03:04:47 +0330 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 7 ++++++- .github/workflows/release.yaml | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3d6f03..79dee79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 + + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 + + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub if: github.event_name != 'pull_request' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a2f9e0c..7b84bb1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,8 +54,14 @@ jobs: package: ${{ fromJson(needs.release.outputs.publishedPackages) }} steps: - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - - uses: docker/setup-qemu-action@v3 + + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: arm,arm64,ppc64le,mips64,s390x + + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v3