ci: test ci
All checks were successful
MoviePilot Builder / Build Docker Image (push) Successful in 13m40s

This commit is contained in:
王一之 2024-09-13 11:12:44 +08:00
parent 0154482156
commit b3f33aaa0f
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ on:
push:
branches:
- main
- test
# paths:
# - version.py

View File

@ -15,6 +15,9 @@ ENV LANG="C.UTF-8" \
AUTH_SITE="iyuu" \
IYUU_SIGN=""
WORKDIR "/app"
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/debian.sources
RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get -y install \
@ -50,6 +53,9 @@ RUN apt-get update -y \
/var/lib/apt/lists/* \
/var/tmp/*
COPY requirements.txt requirements.txt
RUN pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
RUN apt-get update -y \
&& apt-get install -y build-essential \
&& pip install --upgrade pip \