Bug fix
This commit is contained in:
parent
e0ed82fa9f
commit
1ce8868722
|
|
@ -4,7 +4,7 @@ name: build-with-latex
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
- "master"
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
|
@ -18,6 +18,12 @@ jobs:
|
|||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
|
@ -39,6 +45,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
file: docs/GithubAction+NoLocal+Latex
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
|
|||
|
|
@ -18,12 +18,6 @@ jobs:
|
|||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
|
@ -46,6 +40,5 @@ jobs:
|
|||
context: .
|
||||
push: true
|
||||
file: docs/GithubAction+NoLocal
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ FROM menghuan1918/python3_11_uv_texlive:latest
|
|||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
WORKDIR /gpt
|
||||
RUN uv venv --seed \
|
||||
RUN source ~/.bashrc \
|
||||
&& uv venv --seed \
|
||||
&& source venv/bin/activate \
|
||||
&& uv pip install openai numpy arxiv rich colorama Markdown pygments pymupdf python-docx pdfminer nougat-ocr
|
||||
# 装载项目文件
|
||||
|
|
|
|||
Loading…
Reference in New Issue