From 3e9f2aac1b29ead3c4456ff37e660150d6a1fd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Tue, 17 Dec 2024 14:54:34 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb06d7550..453950746 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,39 +120,33 @@ jobs: - name: Package /app for amd64 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-amd64 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-amd64 tar czf /workspace/app-amd64.tar.gz -C / app - name: Package /app (lite) for amd64 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-amd64 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-amd64 bash -c \ "cd /app && tar --exclude='ffmpeg' -czf /workspace/app-amd64-lite.tar.gz .[!.]* *" - name: Package /app for arm64 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-arm64 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-arm64 tar czf /workspace/app-arm64.tar.gz -C / app - name: Package /app (lite) for arm64 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-arm64 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-arm64 bash -c \ "cd /app && tar --exclude='ffmpeg' -czf /workspace/app-arm64-lite.tar.gz .[!.]* *" - name: Package /app for arm/v7 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-arm-v7 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-arm-v7 tar czf /workspace/app-arm-v7.tar.gz -C / app - name: Package /app (lite) for arm/v7 if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') run: | - echo ${{ env.TEST_TAG }}-linux-arm-v7 | docker load docker run --rm -v $PWD:/workspace ${{ env.TEST_TAG }}-linux-arm-v7 bash -c \ "cd /app && tar --exclude='ffmpeg' -czf /workspace/app-arm-v7-lite.tar.gz .[!.]* *"