ci: ensure _build dir is owned by root
so the git command can run without safe.directory config for cloned dependencies
This commit is contained in:
parent
a403c9ff91
commit
94092bc52e
|
@ -76,5 +76,6 @@ docker run -i --rm \
|
||||||
-v "$(pwd)":/emqx \
|
-v "$(pwd)":/emqx \
|
||||||
--workdir /emqx \
|
--workdir /emqx \
|
||||||
--platform="linux/$ARCH" \
|
--platform="linux/$ARCH" \
|
||||||
|
--user root \
|
||||||
"$BUILDER" \
|
"$BUILDER" \
|
||||||
bash -euc "git config --global --add safe.directory /emqx && make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
bash -euc "git config --global --add safe.directory /emqx && chown -R root:root _build && make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
||||||
|
|
Loading…
Reference in New Issue