diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c5ce8b21..cf96c48f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,11 +19,9 @@ jobs: - name: Install dependencies run: npm install - name: Build with Npm build - run: | - npm run build + run: npm run build - name: Build with Npm create-release - run: | - npm run create-release + run: npm run create-release - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 @@ -33,11 +31,6 @@ jobs: uses: docker/build-push-action@v5 with: context: ./ - file: ./Dockerfile.build + file: ./release/Dockerfile.build push: true tags: k2.xuthus83.cn:6001/pigallery2:latest - # - name: Build the Docker image - # run: - # | # 使用 上一步写的 Dockerfile 构建镜像并发布到私有仓库; 发布完成可以去 https://github.com/MrGaoGang?tab=packages 查看 - # docker build . --file Dockerfile.build --tag k2.xuthus83.cn:6001/pigallery2:latest . - # docker push k2.xuthus83.cn:6001/pigallery2:latest