fix: update artifact export path in downloadKubekey.sh to use absolute path

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
This commit is contained in:
redscholar 2025-10-21 14:52:16 +08:00
parent 97bba44fe6
commit 63043005d2
No known key found for this signature in database
GPG Key ID: 5A4D7C7DB5D38D49

View File

@ -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