ci: 撤销多架构构建

This commit is contained in:
Mmx233 2023-03-09 09:12:56 +08:00
parent b6702739f2
commit 64c817ebf4
No known key found for this signature in database

View File

@ -12,11 +12,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup QEMU Emulator
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Setup Docker Buildx Command
id: buildx
uses: docker/setup-buildx-action@master
@ -33,7 +28,7 @@ jobs:
env:
URL: ${{ secrets.DOCKER_IMAGE_REGISTRY }}${{ secrets.DOCKER_IMAGE_PATH }}
run: |
echo LATEST=${URL}:latest >> $GITHUB_OUTPUT${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }}
echo LATEST=${URL}:latest >> $GITHUB_OUTPUT
echo VERSION=${URL}:${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
- name: Build Docker Image and Push
@ -41,8 +36,6 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7
file: ./dockerfile
tags: ${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }}