-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document unprivileged user in GitHub workflows
At some point GitHub changed things so that the entrypoint script does not run, so the `AS_USER` variable does nothing. Which is just as well, because that user would have no permissions, so even a checkout will fail. So remove the GitHib-specific stuff from `entrypoint.sh` and separately document running the container with the CLI and as a GitHub workflow. Add a new section describing how to use `gosu` directly in a GitHub workflow to execute commands as an unprivileged user. Thanks to @pgguru for figuring out the technique.
- Loading branch information
Showing
2 changed files
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters