Public Access
1
0

push is optional now

This commit is contained in:
2026-05-26 19:16:43 +02:00
parent 5ff1f840dc
commit b0ceee7e9b
+9 -1
View File
@@ -30,6 +30,12 @@ inputs:
Example: "ACT_RUNNER_VERSION=0.2.11" Example: "ACT_RUNNER_VERSION=0.2.11"
required: false required: false
default: "" 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: runs:
using: composite using: composite
@@ -50,6 +56,7 @@ runs:
fi fi
- id: login - id: login
if: ${{ inputs.push != 'false' }}
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
@@ -94,7 +101,8 @@ runs:
build_cmd+=("${{ inputs.context }}") build_cmd+=("${{ inputs.context }}")
"${build_cmd[@]}" "${build_cmd[@]}"
- id: push - if: ${{ inputs.push != 'false' }}
id: push
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail