Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get GitHub Docker Actions working (securely) #52

Open
dwinchell opened this issue Jul 6, 2022 · 3 comments
Open

Get GitHub Docker Actions working (securely) #52

dwinchell opened this issue Jul 6, 2022 · 3 comments
Assignees

Comments

@dwinchell
Copy link
Contributor

dwinchell commented Jul 6, 2022

Success Criteria:

  • There is a green test (throwaway) pipeline that uses a Docker Action and our self-hosted runner on OpenShift
  • The GitHub runner still uses a ubi8-based base image
  • The GitHub runner starts containers using podman
  • The started, "child" containers run "rootless" but "think" they are the root user.

Notes:

  • See the "kubernoodles" project on github (Natalie from GitHub created it and in our prior convo suggested we look at it)
@jthompkins
Copy link
Contributor

When time permits we should revisit with new information regarding cluster role / scc link in mind. Possibly did not have a cluster role for the nonrootbuilder-docker?

@dwinchell
Copy link
Contributor Author

dwinchell commented Jul 25, 2022

  • There's an issue about this in the kubernoodles project
  • If needed we can ask to open a ticket about this with GitHub

@aktech
Copy link

aktech commented Aug 16, 2022

Disclaimer: This doesn't answers the actual question, but suggests an alternative:

You can achieve this easily with https://cirun.io/ It creates on demand runners for GitHub Actions on your cloud and manages the complete lifecycle. You simply connect your cloud provider and define what runners you need in a simple yaml file and that's it. It also works on OpenStack.

See https://docs.cirun.io/reference/examples.html#aws for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants