From 3eb413086589659a1c815a79fd89b63ecc1e314a Mon Sep 17 00:00:00 2001 From: tigattack <10629864+tigattack@users.noreply.github.com> Date: Thu, 2 Oct 2025 13:54:00 +0100 Subject: [PATCH] ci(docker): fix push condition for build step --- .github/workflows/docker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6294b87..40c11eb 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -56,13 +56,12 @@ jobs: type=raw,value=latest,enable={{is_default_branch}} - name: Build and push ${{ matrix.image }} image - if: github.event_name != 'workflow_dispatch' || inputs.push == 'true' uses: docker/build-push-action@v6 with: context: . file: docker/${{ matrix.image }}.Dockerfile platforms: linux/amd64,linux/arm64 - push: true + push: ${{ github.event_name != 'workflow_dispatch' || inputs.push == 'true' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha,scope=${{ matrix.image }}