Fix GitHub action of docker.yml

This commit is contained in:
EstrellaXD
2023-03-14 23:43:16 +08:00
parent 4a0cd5bae0
commit 6ac7de272e
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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 \