mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
更新
This commit is contained in:
parent
c8b4f4c091
commit
d80587a422
@ -19,10 +19,19 @@ jobs:
|
|||||||
run: npm install --unsafe-perm
|
run: npm install --unsafe-perm
|
||||||
- name: Build with Npm create-release
|
- name: Build with Npm create-release
|
||||||
run: npm run create-release -- --skip-opt-packages=ffmpeg-static,ffprobe-static --force-opt-packages
|
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:
|
with:
|
||||||
name: pigallery2-release
|
name: pigallery2-release
|
||||||
path: 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
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@ -34,4 +43,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: Dockerfile.build
|
file: Dockerfile.build
|
||||||
push: true
|
push: true
|
||||||
tags: k2.xuthus83.cn:6001/pigallery2:latest
|
tags: k2.xuthus83.cn:6001/pigallery2:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user