Skip to content

Commit

Permalink
More manipulations with gh runner user
Browse files Browse the repository at this point in the history
  • Loading branch information
tustanivsky committed Oct 16, 2024
1 parent bf3042f commit 9319dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ jobs:
run: |
echo ${{ secrets.DOCKER_TOKEN }} | docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
# We start the container with the user ID of the parent GH action user to avoid permission issues on volume.
sudo useradd -m -u 1001 -g 1000 gh-runner
sudo -u gh-runner
# For UE 5.4 we have to enable ipv6 to fix container startup issues. See https://github.com/adamrehn/ue4-docker/issues/357
uid=$(id -u) # the GH action user ID
gid=1000 # the ue4 group in the docker container
Expand Down

0 comments on commit 9319dd5

Please sign in to comment.