From 341f59e95f29b36030758d2f9a100902a8ee1717 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Tue, 26 May 2026 20:34:28 +0200 Subject: [PATCH] fix(build-container): dry-run (#6) Reviewed-on: https://gitea.t000-n.de/t.behrendt/gitea-workflows/pulls/6 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- .gitea/workflows/build-container.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-container.yaml b/.gitea/workflows/build-container.yaml index 8f22165..1c02dce 100644 --- a/.gitea/workflows/build-container.yaml +++ b/.gitea/workflows/build-container.yaml @@ -63,7 +63,7 @@ jobs: context: ${{ inputs.context }} file: ${{ inputs.dockerfile }} platforms: linux/${{ matrix.arch }} - push: ${{ !inputs.dry-run }} + push: ${{ inputs.dry-run == false || inputs.dry-run == 'false' }} provenance: false tags: | ${{ inputs.registry }}/${{ inputs.repo-name }}:${{ inputs.tag }}-${{ matrix.arch }} @@ -72,7 +72,7 @@ jobs: create_manifest: name: Create manifest - if: ${{ !inputs.dry-run }} + if: ${{ inputs.dry-run == false || inputs.dry-run == 'false' }} needs: - build_and_push runs-on: ubuntu-latest