mirror of
https://github.com/wahyd4/kubectl-helm-action.git
synced 2026-08-09 05:06:10 +10:00
11 lines
226 B
Bash
Executable File
11 lines
226 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
: "${KUBE_CONFIG_DATA?Must be specified}"
|
|
|
|
# Extract the base64 encoded config data and write this to the KUBECONFIG
|
|
echo "$KUBE_CONFIG_DATA" | base64 -d > /tmp/config
|
|
|
|
export KUBECONFIG=/tmp/config
|
|
|
|
sh -c "$*"
|