ci: chown the builddir

Even if it's not the project dir, this is needed when
building inside the image building stage

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9382>
This commit is contained in:
Olivier Crête 2025-07-11 18:38:49 -04:00 committed by GStreamer Marge Bot
parent f6052f204f
commit 911fb66ce0

View File

@ -50,7 +50,7 @@ if [[ -e "$ci_image_info" ]]; then
# have the expected owenership.
# Always chown until we have cycled out all the cached volumes from the runners.
if [[ -n "${CI:-}" ]]; then
sudo chown containeruser:containeruser --recursive "${CI_PROJECT_DIR}"
sudo chown containeruser:containeruser --recursive .
# Make sure the directory exists
sudo mkdir -p "${CCACHE_DIR}"