action run master-106
This commit is contained in:
12
action.yaml
12
action.yaml
@@ -25,10 +25,6 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "5m"
|
default: "5m"
|
||||||
|
|
||||||
tag_commit:
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
@@ -41,7 +37,6 @@ runs:
|
|||||||
IMAGE_PATHS: "${{ inputs.image_paths }}"
|
IMAGE_PATHS: "${{ inputs.image_paths }}"
|
||||||
IMAGE_TAG: "${{ inputs.image_tag }}"
|
IMAGE_TAG: "${{ inputs.image_tag }}"
|
||||||
HELM_UPGRADE_TIMEOUT: "${{ inputs.timeout }}"
|
HELM_UPGRADE_TIMEOUT: "${{ inputs.timeout }}"
|
||||||
TAG_COMMIT: "${{ inputs.tag_commit }}"
|
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
: ${NAMESPACE:="$RELEASE_NAME"}
|
: ${NAMESPACE:="$RELEASE_NAME"}
|
||||||
@@ -77,10 +72,3 @@ runs:
|
|||||||
--reuse-values \
|
--reuse-values \
|
||||||
--set "$value_overrides" \
|
--set "$value_overrides" \
|
||||||
--timeout "$HELM_UPGRADE_TIMEOUT"
|
--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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user