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