From b0ceee7e9b0a481e1fa5217399da253dcbde87d2 Mon Sep 17 00:00:00 2001 From: peet Date: Tue, 26 May 2026 19:16:43 +0200 Subject: [PATCH] push is optional now --- podman-build-publish/action.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/podman-build-publish/action.yaml b/podman-build-publish/action.yaml index 9618700..1e0b709 100644 --- a/podman-build-publish/action.yaml +++ b/podman-build-publish/action.yaml @@ -30,6 +30,12 @@ inputs: Example: "ACT_RUNNER_VERSION=0.2.11" required: false default: "" + push: + description: | + Whether to push tags to the registry after build. + Set to "false" for build-only verification workflows. + required: false + default: "true" runs: using: composite @@ -50,6 +56,7 @@ runs: fi - id: login + if: ${{ inputs.push != 'false' }} shell: bash run: | set -euo pipefail @@ -94,7 +101,8 @@ runs: build_cmd+=("${{ inputs.context }}") "${build_cmd[@]}" - - id: push + - if: ${{ inputs.push != 'false' }} + id: push shell: bash run: | set -euo pipefail