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

how to build docker in github actions with private modules from alpine builder into scratch #235

Open
nikolaydubina opened this issue Sep 12, 2024 · 1 comment
Labels
hard help wanted Extra attention is needed ideas v5

Comments

@nikolaydubina
Copy link
Owner

tough problem. impossible? so tricky to do. just build outside and copy into docker. anything better?

@nikolaydubina nikolaydubina added help wanted Extra attention is needed ideas v5 hard labels Sep 12, 2024
@nikolaydubina nikolaydubina changed the title how to build docker in github actions with private modules from alpine how to build docker in github actions with private modules from alpine builder into scratch Sep 12, 2024
@nikolaydubina
Copy link
Owner Author

nikolaydubina commented Sep 12, 2024

  • ssh key not clear how to add
  • GOPROXY does not allow to rewrite with USER:TOKEN style for gitbub url
  • git may not be available in scratch
  • gitconfig is not picked by by go cli
  • creating .gitconfig and other files in docker is not convenient from secrets in github actions
  • using https rewrite for githconfig global in docker does not work and it fails with user, password is not allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hard help wanted Extra attention is needed ideas v5
Projects
None yet
Development

No branches or pull requests

1 participant