From 18be6cee7ea7f6af5f9070ceda0337d888e88ac9 Mon Sep 17 00:00:00 2001 From: action-runner Date: Thu, 30 Oct 2025 23:29:17 +0000 Subject: [PATCH] action run master-100 --- action.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/action.yaml b/action.yaml index f736328..97f0309 100644 --- a/action.yaml +++ b/action.yaml @@ -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