From 9484e1040e46daffac964a075dda467b9485ffff Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 8 Apr 2024 16:38:28 +0800 Subject: [PATCH] Support mutiple platforms. --- .github/workflows/releases.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 406da99..f28454b 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -50,8 +50,9 @@ jobs: - name: Build SRS docker image run: | echo "Release ossrs/aapanel-plugin-dev:$SRS_TAG" - docker build --tag ossrs/aapanel-plugin-dev:$SRS_TAG -f Dockerfile . - docker push ossrs/aapanel-plugin-dev:$SRS_TAG + docker buildx build --platform linux/amd64,linux/arm64/v8 \ + --output "type=image,push=true" \ + --tag ossrs/aapanel-plugin-dev:$SRS_TAG -f Dockerfile . - name: Docker alias images for ossrs/aapanel-plugin-dev uses: akhilerm/tag-push-action@v2.1.0 with: