helm / helm/chart-releaser-action

How to work with private repositories?

Open
#52 20 comments 35 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
668
Forks
222
PR merge metrics
No merged PRs in 30d

Description

The pipeline works fine but when I add the repo and try to use it, I get the following error:

```
Error: Failed to fetch https://github.com/{{org}}/{{repo}}/releases/download/{{version}}/{{version}}.tgz : 404 Not Found
```
I believe that is happening because helm can't authenticate.
I already tried to add the repository using my username and personal access token but it's not working.

That's how I added the repo:

```
helm repo add --username {{username}} --password {{personal_token}} {{org}} https://{{org}}.github.io/{{repo}}
```

Someone knows if does exists some trick to use it with private repos?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the pipeline invokes Helm and how the shown `helm repo add` credentials relate to the GitHub Releases URL. Determine whether private repositories are supported by the action; done should be a documented or implemented way to authenticate and fetch a private chart repository successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, kubernetes, shell
Domain
authentication, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.