We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fab1e commit 23d9fa2Copy full SHA for 23d9fa2
entrypoint.sh
@@ -42,13 +42,7 @@ echo "----------------------"
42
export KUBECONFIG=/opt/kubernetes/config
43
44
echo "--- Executing Helm Commands ---"
45
-
46
-# Check if arguments are provided
47
-if [ $# -eq 0 ]; then
48
- echo "No commands provided. Exiting."
49
- exit 0
50
-fi
51
52
-# Always execute with bash to handle complex command strings
53
-echo "Executing commands with bash..."
54
-exec bash -c "$*"
+# Execute the commands passed as arguments to the action (e.g., Helm commands)
+# The "$@" expands to all positional parameters passed to the script,
+# which corresponds to the `args` input in your `action.yml`.
+exec "$@"
0 commit comments