From 64c817ebf49013b787981e4ec6533c1099b6b864 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Thu, 9 Mar 2023 09:12:56 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=92=A4=E9=94=80=E5=A4=9A=E6=9E=B6?= =?UTF-8?q?=E6=9E=84=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release_docker.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release_docker.yaml b/.github/workflows/release_docker.yaml index dad891b..0100a8f 100644 --- a/.github/workflows/release_docker.yaml +++ b/.github/workflows/release_docker.yaml @@ -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 }} \ No newline at end of file