From ac22adde6765a2d940d64a06e518ca4784b17917 Mon Sep 17 00:00:00 2001 From: tigattack <10629864+tigattack@users.noreply.github.com> Date: Thu, 2 Oct 2025 00:39:00 +0100 Subject: [PATCH] ci(docker): simplify conditional for workflow_dispatch input handling Don't skip Docker login, doesn't really match the input option --- .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 86e7fd0..0fb9f95 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,6 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Log in to Container Registry - if: github.event_name != 'workflow_dispatch' || github.event_name == 'workflow_dispatch' && github.event.inputs.push == 'true' uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} @@ -57,7 +56,7 @@ jobs: type=raw,value=latest,enable={{is_default_branch}} - name: Build and push ${{ matrix.image }} image - if: github.event_name != 'workflow_dispatch' || github.event_name == 'workflow_dispatch' && github.event.inputs.push == 'true' + if: github.event_name != 'workflow_dispatch' || inputs.push == 'true' uses: docker/build-push-action@v6 with: context: .