diff --git a/.github/actions/kas-build/entrypoint.sh b/.github/actions/kas-build/entrypoint.sh index 2d4edd2..2986334 100755 --- a/.github/actions/kas-build/entrypoint.sh +++ b/.github/actions/kas-build/entrypoint.sh @@ -5,19 +5,26 @@ set -xe KAS_BUILD_ACTION_CONFIG_DIR=${KAS_BUILD_ACTION_CONFIG_DIR:-kas-build.configs/} KAS_BUILD_ACTION_TARGET=${KAS_BUILD_ACTION_TARGET} KAS_BUILD_ACTION_COMMAND=${KAS_BUILD_ACTION_COMMAND} -KAS_BUILD_ACTION_BBARGS=${KAS_BUILD_ACTION_BBARGS} +KAS_BUILD_ACTION_BBARGS=${KAS_BUILD_ACTION_BBARGS:+ -- $KAS_BUILD_ACTION_BBARGS} echo Target: $KAS_BUILD_ACTION_TARGET echo Command: $KAS_BUILD_ACTION_COMMAND echo Config-Dir: $KAS_BUILD_ACTION_CONFIG_DIR echo BBARGS: $KAS_BUILD_ACTION_BBARGS +echo WORKSPACE: +ls -la $GITHUB_WORKSPACE +echo workspace '*' +ls -la * + +sudo chown -R `id -u`:`id -g` . + for c in ${KAS_BUILD_ACTION_CONFIG_DIR}/*.yaml; do echo "Building $c" kas build \ ${KAS_BUILD_ACTION_TARGET:+--target $KAS_BUILD_ACTION_TARGET} \ ${KAS_BUILD_ACTION_COMMAND:+--cmd $KAS_BUILD_ACTION_COMMAND} \ $c \ - -- ${KAS_BUILD_ACTION_BBARGS} + ${KAS_BUILD_ACTION_BBARGS} done