Fix GitHub action of docker.yml

This commit is contained in:
EstrellaXD
2023-03-14 23:28:12 +08:00
parent 8b31256e78
commit 4cbfe5dfdf
2 changed files with 2 additions and 4 deletions

View File

@@ -28,9 +28,8 @@ jobs:
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Build and push
working-directory: ./src
uses: docker/build-push-action@v3
with:
push: true
tags: estrellaxd/auto_bangumi:2.6.0-beta2
file: ./Dockerfile
file: .src/Dockerfile

View File

@@ -37,10 +37,9 @@ jobs:
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Build and push
working-directory: ./src
uses: docker/build-push-action@v3
with:
context: .
context: src/.
platforms: linux/amd64,linux/arm64,linux/arm
push: true
tags: ${{ steps.meta.outputs.tags }}