Skip to content

Anyway to Ensure GitHub Actions Jobs Are Running in Container on Self-Hosted Runners? #123572

Closed Answered by ChristopherHX
ukewea asked this question in Actions
Discussion options

You must be logged in to vote

That's specfic usecase is covered by ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER see here

The ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER env should be set to true to prevent the runner from running any jobs outside of a container

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ukewea
Comment options

Answer selected by ukewea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
3 participants