[GH-ISSUE #582] Enhancement: Bring docker image and paths in line with latest runner model #387

Closed
opened 2026-03-01 21:42:54 +03:00 by kerem · 4 comments
Owner

Originally created by @JustinGrote on GitHub (Mar 24, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/582

Describe feature

The Actions runner has the following differences now from act, Act should be brought in line to ensure a more robust test environment:

  1. Activity occurs under the runner user, not root. Actions that work in act with root privileges will fail in the runner
  2. The /github folder no longer exists, all activity happens in the runner home directory
  3. github/workspace has moved to ~/work/RepositoryName/RepositoryName
Originally created by @JustinGrote on GitHub (Mar 24, 2021). Original GitHub issue: https://github.com/nektos/act/issues/582 ## Describe feature The Actions runner has the following differences now from act, Act should be brought in line to ensure a more robust test environment: 1. Activity occurs under the `runner` user, not root. Actions that work in act with root privileges will fail in the runner 2. The /github folder no longer exists, all activity happens in the runner home directory 3. github/workspace has moved to `~/work/RepositoryName/RepositoryName`
kerem 2026-03-01 21:42:54 +03:00
Author
Owner

@JustinGrote commented on GitHub (Mar 24, 2021):

I'd be willing to invest time in a PR if there was a reasonable chance of it being accepted.

<!-- gh-comment-id:806253332 --> @JustinGrote commented on GitHub (Mar 24, 2021): I'd be willing to invest time in a PR if there was a reasonable chance of it being accepted.
Author
Owner

@catthehacker commented on GitHub (Mar 25, 2021):

There is already a PR for changing path where repository is checked out (#567)
As for the runner user, I already have basic docker image ready but didn't get further than that yet.
github.com/catthehacker/docker_images@e4dbf90932/linux/ubuntu/runner/Dockerfile
I can also help with PR.

ref:

  1. #398
  2. #567
  3. #567
<!-- gh-comment-id:806481848 --> @catthehacker commented on GitHub (Mar 25, 2021): There is already a PR for changing path where repository is checked out (#567) As for the `runner` user, I already have basic docker image ready but didn't get further than that yet. https://github.com/catthehacker/docker_images/blob/e4dbf909324ccd7c9ff3ddedc0daa5e4bd266186/linux/ubuntu/runner/Dockerfile I can also help with PR. ref: 1. #398 2. #567 3. #567
Author
Owner

@github-actions[bot] commented on GitHub (Apr 29, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:828858432 --> @github-actions[bot] commented on GitHub (Apr 29, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@catthehacker commented on GitHub (Apr 29, 2021):

Will close this in favour of already opened issue(s) mentioned above.

<!-- gh-comment-id:829188469 --> @catthehacker commented on GitHub (Apr 29, 2021): Will close this in favour of already opened issue(s) mentioned above.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#387
No description provided.