mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
This commit is contained in:
parent
eefdcce9d0
commit
f05035729c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user