From f05035729cffd46d64ea6d74d251ce8fda2bd846 Mon Sep 17 00:00:00 2001 From: xuthus Date: Tue, 16 Apr 2024 10:40: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, 3 insertions(+), 10 deletions(-) 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