添加docker多平台支持

This commit is contained in:
qaiu
2025-09-10 17:06:40 +08:00
committed by GitHub
parent 421b2f4a42
commit 1be5030dd1

View File

@@ -80,6 +80,8 @@ jobs:
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract git tag - name: Extract git tag
id: tag id: tag
@@ -93,6 +95,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: | tags: |
ghcr.io/qaiu/netdisk-fast-download:${{ steps.tag.outputs.tag }} ghcr.io/qaiu/netdisk-fast-download:${{ steps.tag.outputs.tag }}
ghcr.io/qaiu/netdisk-fast-download:latest ghcr.io/qaiu/netdisk-fast-download:latest