diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 12b9afce4..80d41cea3 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -53,10 +53,18 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: Set up Docker QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v2 + - name: Available Docker platforms + run: echo ${{ steps.buildx.outputs.platforms }} - name: Push to Docker Hub uses: docker/build-push-action@v2 with: push: true context: . file: docker/Dockerfile + platforms: linux/amd64, linux/arm64 tags: vitelabs/gvite:${{ github.event.inputs.tag }},vitelabs/gvite:latest