diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 652add69..29bfe619 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -327,22 +327,28 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v4 - + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Build and push uses: docker/build-push-action@v5 with: + context: . + platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7 push: true tags: | ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ github.sha }} \ No newline at end of file + ghcr.io/${{ github.repository }}:${{ github.sha }}