Fix updatecli action #1

Merged
salcedo merged 3 commits from hurui200320/actions-updatecli-deploy:fix-typo into master 2025-10-24 12:55:37 +00:00
2 changed files with 10 additions and 5 deletions
+7 -2
View File
@@ -4,7 +4,7 @@ description: Use Updatecli to update deployments for ArgoCD
inputs:
updatecli-config:
description: Override default updatecli config
default: ${{ forge.action_path }}/updatecli.yaml
default: ""
registry-url:
description: Registry URL
default: git.cleverthis.com
@@ -59,6 +59,11 @@ runs:
echo "Unknown target branch. We are not coming from main, master, nor develop branch."
exit 1
fi
configFilePath="${{ inputs.updatecli-config }}"
if [ -z "$configFilePath" ]; then
configFilePath="${{ forge.action_path }}/updatecli.yaml"
fi
export TARGET_BRANCH
updatecly apply --config ${{ inputs.updatecli-config }}
updatecli apply --config "$configFilePath"
+3 -3
View File
@@ -54,9 +54,9 @@ actions:
kind: gitea/pullrequest
scmid: helm-chart
spec:
url: '{{ requiredEnv "SERVER_URL" }}'
owner: '{{ requiredEnv "REPO_OWNER" }}'
repository: '{{ requiredEnv "REPO_NAME" }}'
url: '{{ requiredEnv "REGISTRY_URL" }}'
owner: '{{ requiredEnv "CHARTS_REPO_ORG" }}'
repository: '{{ requiredEnv "CHARTS_REPO_NAME" }}'
username: '{{ requiredEnv "REGISTRY_USER" }}'
token: '{{ requiredEnv "REGISTRY_PASSWORD" }}'
title: 'chore({{ requiredEnv "TARGET_NAME" }}): bump chart version and set app version to {{ source "appVersion" }}'