From 526493224bc4878748cdb89fc1270870b5d21532 Mon Sep 17 00:00:00 2001 From: Mmx Date: Wed, 13 Mar 2024 15:11:21 +0800 Subject: [PATCH] fix(ci): replace dockerfile tag step may have no effect (#6206) --- .github/workflows/build_docker.yml | 1 + .github/workflows/release_docker.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index baedcaab693b..9c740ba1fa4b 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -71,6 +71,7 @@ jobs: id: docker_build_ffmpeg uses: docker/build-push-action@v5 with: + context: . file: Dockerfile.ffmpeg push: ${{ github.event_name == 'push' }} tags: ${{ steps.meta-ffmpeg.outputs.tags }} diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index 10f8554220b5..d172c27f6251 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -62,6 +62,7 @@ jobs: id: docker_build_ffmpeg uses: docker/build-push-action@v5 with: + context: . file: Dockerfile.ffmpeg push: true tags: ${{ steps.meta-ffmpeg.outputs.tags }}