🦄 refactor: 调整接口结构

This commit is contained in:
imsyy
2024-12-04 17:47:48 +08:00
parent 0cce0d6067
commit f38d264366
54 changed files with 348 additions and 362 deletions

View File

@@ -43,7 +43,7 @@ jobs:
imsyy/dailyhot-api
ghcr.io/${{ github.repository }}
- name: Build and push
- name: Build and push regular image (no Puppeteer)
uses: docker/build-push-action@v5
with:
context: .
@@ -54,3 +54,18 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Puppeteer image (with Puppeteer)
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
push: true
tags: imsyy/dailyhot-api:web-latest
build-args: |
USE_PUPPETEER=true
labels: ${{ steps.meta.outputs.labels }}