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"
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