docs icon indicating copy to clipboard operation
docs copied to clipboard

Environment variable ACTIONS_RUNNER_CONTAINER_HOOK is not correct

Open mhuijgen opened this issue 2 years ago • 4 comments

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs#triggering-the-customization-script

What part(s) of the article would you like to see updated?

Environment variable ACTIONS_RUNNER_CONTAINER_HOOK is not correct and the hooks will not be triggered by the runner.

The correct env var is ACTIONS_RUNNER_CONTAINER_HOOKS

See also https://github.com/actions/runner/blob/main/docs/adrs/1891-container-hooks.md

After using ACTIONS_RUNNER_CONTAINER_HOOKS my self-hosted runner started executing the hooks.

Additional information

No response

mhuijgen avatar Jun 22 '23 08:06 mhuijgen

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Jun 22 '23 08:06 welcome[bot]

@mhuijgen Thank you for opening a PR and linking it to your issue! ✨

cmwilson21 avatar Jun 22 '23 16:06 cmwilson21

Please everyone I need help here

Edison478 avatar Jun 24 '23 03:06 Edison478

My device have been hack and I need a solution to it please

Edison478 avatar Jun 24 '23 03:06 Edison478