Add chown command to fix root owner

This commit is contained in:
Marco Massarelli 2023-11-21 20:24:17 +00:00
parent 140f4bcdcb
commit ec4e8e6325
1 changed files with 6 additions and 1 deletions

View File

@ -75,4 +75,9 @@ do
if [ -e ergogen/output/pcbs/${board}_autorouted.kicad_pcb ]; then
${container_cmd} run ${container_args} ghcr.io/inti-cmnb/kicad7_auto:latest kibot -b ergogen/output/pcbs/${board}_autorouted.kicad_pcb -c kibot/boards.kibot.yaml
fi
done
done
# Docker runs as root and causes issues with file ownership
sudo chown $USER -R ergogen
sudo chown $USER -R freerouting
sudo chown $USER -R logs