runs-on / cache

Shockingly faster GitHub Action cache with S3 backend
https://runs-on.com
MIT License
61 stars 12 forks source link

How to custom S3 endpoint? #13

Open mr-kelly opened 5 months ago

mr-kelly commented 5 months ago

We have a self-hosted Github Runners on Kubernetes and self-hostd MinIO for S3....

How to configure the secrets for our self-hosted MinIO in runs-on/cache?

ad-m-ss commented 3 months ago

I'm curious what results CloudFront R2 might have over GitHub's built-in cache, considering free transfer and CDN-backed. I'm just sharing an idea.

crohr commented 3 months ago

@mr-kelly you should be able to set an AWS profile with the custom endpoint etc, and simply pass the AWS_PROFILE=your-profile as an env variable to the action. By default the S3 backend will respect the usual load order of credentials.

allanrogerr commented 2 months ago

@crohr Could you provide an example please?

pavlospt commented 3 weeks ago

@crohr I have opened a PR adding support for a custom S3 endpoint? Will this be something that could be merged into the main branch and be released?