mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
fix: update artifact export path in downloadKubekey.sh to use absolute path
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
This commit is contained in:
parent
97bba44fe6
commit
63043005d2
|
|
@ -144,7 +144,7 @@ if [ ! -f "$CONFIG_FILE" ]; then
|
|||
fi
|
||||
|
||||
echo "Exporting artifact with kk..."
|
||||
./kk artifact export -c "$CONFIG_FILE" --workdir prepare -a artifact.tgz
|
||||
./kk artifact export -c "$CONFIG_FILE" --workdir prepare -a $(pwd)/artifact.tgz
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to export artifact with kk. Please check the command output above."
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue