Commit fd8d3673 by Edward Thomson

ci: use uid/gid of actions runner

Avoid mismatches between the container uid/gid and the actions runner,
build the container with the actions runner's uid/gid
parent c6416100
...@@ -240,7 +240,7 @@ jobs: ...@@ -240,7 +240,7 @@ jobs:
mkdir build mkdir build
docker run \ docker run \
--rm \ --rm \
--user libgit2:libgit2 \ --user "$(id -u):$(id -g)" \
-v "$(pwd)/source:/home/libgit2/source" \ -v "$(pwd)/source:/home/libgit2/source" \
-v "$(pwd)/build:/home/libgit2/build" \ -v "$(pwd)/build:/home/libgit2/build" \
-w /home/libgit2 \ -w /home/libgit2 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment