mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-24 02:20:38 +08:00
Fix GitHub action of docker.yml
This commit is contained in:
2
.github/workflows/dev-latest.yml
vendored
2
.github/workflows/dev-latest.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./src/.
|
||||
context: .
|
||||
push: true
|
||||
tags: estrellaxd/auto_bangumi:2.6.0-beta2
|
||||
file: Dockerfile
|
||||
|
||||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./src
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/arm
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
@@ -8,12 +8,12 @@ ENV TZ=Asia/Shanghai \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
COPY src/requirements.txt .
|
||||
|
||||
RUN python3 -m pip install --upgrade pip \
|
||||
&& pip install -r requirements.txt --no-cache-dir
|
||||
|
||||
COPY --chmod=755 . /app
|
||||
COPY --chmod=755 src/. /app/.
|
||||
|
||||
RUN apk add --no-cache \
|
||||
curl \
|
||||
Reference in New Issue
Block a user