1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

更新
Some checks failed
pigallery2 / pigallery2-Gitea-Actions (push) Failing after 8m52s

This commit is contained in:
xuthus 2024-04-16 10:40:04 +08:00
parent eefdcce9d0
commit f05035729c

View File

@ -19,11 +19,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
- name: Build with Npm build - name: Build with Npm build
run: | run: npm run build
npm run build
- name: Build with Npm create-release - name: Build with Npm create-release
run: | run: npm run create-release
npm run create-release
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -33,11 +31,6 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: ./ context: ./
file: ./Dockerfile.build file: ./release/Dockerfile.build
push: true push: true
tags: k2.xuthus83.cn:6001/pigallery2:latest 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