From d80587a42238e4a889078f53f1ab16865391e196 Mon Sep 17 00:00:00 2001 From: xuthus Date: Sun, 7 Jul 2024 21:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5b2db66d..a5b90c1f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,10 +19,19 @@ jobs: run: npm install --unsafe-perm - name: Build with Npm create-release run: npm run create-release -- --skip-opt-packages=ffmpeg-static,ffprobe-static --force-opt-packages - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: pigallery2-release path: release + build-dockerx: + runs-on: node-lts + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: actions/download-artifact@v3 + with: + name: pigallery2-release + path: pigallery2-release - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 @@ -34,4 +43,4 @@ jobs: context: . file: Dockerfile.build push: true - tags: k2.xuthus83.cn:6001/pigallery2:latest + tags: k2.xuthus83.cn:6001/pigallery2:latest