Add support for 386 architecture

This commit is contained in:
Chocobo1 2023-12-21 18:24:49 +08:00
parent a9d8a19ce6
commit 976f7492da
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
4 changed files with 7 additions and 10 deletions

View File

@ -27,11 +27,6 @@ jobs:
run: |
echo "PLATFORM_NAME=${{ matrix.platform }}" | sed 's|/|-|g' >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.platform }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:

View File

@ -27,11 +27,6 @@ jobs:
run: |
echo "PLATFORM_NAME=${{ matrix.platform }}" | sed 's|/|-|g' >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.platform }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:

View File

@ -21,6 +21,7 @@ jobs:
strategy:
matrix:
platform:
- "linux/386"
- "linux/amd64"
- "linux/arm/v6"
- "linux/arm/v7"
@ -37,6 +38,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: (matrix.platform != "linux/386") && (matrix.platform != "linux/amd64")
with:
platforms: ${{ matrix.platform }}
@ -137,24 +139,28 @@ jobs:
run: |
docker manifest create \
qbittorrentofficial/qbittorrent-nox:${{ env.QBT_VERSION }}-${{ env.TAG_RELEASE_NUMBER }} \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-386 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-amd64 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm-v6 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm-v7 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm64-v8
docker manifest create \
qbittorrentofficial/qbittorrent-nox:latest \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-386 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-amd64 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm-v6 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm-v7 \
--amend qbittorrentofficial/qbittorrent-nox:latest-linux-arm64-v8
docker manifest create \
ghcr.io/qbittorrent/docker-qbittorrent-nox:${{ env.QBT_VERSION }}-${{ env.TAG_RELEASE_NUMBER }} \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-386 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-amd64 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-arm-v6 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-arm-v7 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-arm64-v8
docker manifest create \
ghcr.io/qbittorrent/docker-qbittorrent-nox:latest \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-386 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-amd64 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-arm-v6 \
--amend ghcr.io/qbittorrent/docker-qbittorrent-nox:latest-linux-arm-v7 \

View File

@ -5,6 +5,7 @@ Repository on GitHub: https://github.com/qbittorrent/docker-qbittorrent-nox
## Supported architectures
* linux/386
* linux/amd64
* linux/arm/v6
* linux/arm/v7