action run master-100

This commit is contained in:
action-runner
2025-10-30 23:29:17 +00:00
parent b730cb86cc
commit 18be6cee7e

View File

@@ -25,6 +25,10 @@ inputs:
required: false
default: "5m"
tag_commit:
required: false
default: true
runs:
using: composite
steps:
@@ -37,6 +41,7 @@ runs:
IMAGE_PATHS: "${{ inputs.image_paths }}"
IMAGE_TAG: "${{ inputs.image_tag }}"
HELM_UPGRADE_TIMEOUT: "${{ inputs.timeout }}"
TAG_COMMIT: "${{ inputs.tag_commit }}"
run: |
: ${NAMESPACE:="$RELEASE_NAME"}
@@ -72,3 +77,10 @@ runs:
--reuse-values \
--set "$value_overrides" \
--timeout "$HELM_UPGRADE_TIMEOUT"
if [[ "$TAG_COMMIT" == "true" ]]; then
TAG_NAME="image-$IMAGE_TAG"
echo "tagging commit with $TAG_NAME"
git tag "$TAG_NAME"
git push origin $TAG_NAME
fi