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

feat: add lab for using private repos #88

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: add lab for using private repos #88

wants to merge 2 commits into from

Conversation

srodenhuis
Copy link
Contributor

  • Add new lab for using a private (Github) repo with a basic-auth sealedsecret
  • Adjust other Build labs for updates Build feature


2. (optional) Adjust the tag
4. Select the `Repository type`. Select `internal` if you want to use a Git repository hosted in the local Git service (Gitea), or `external` if you want to use an external repository (like one hosted in Github). Select `private` if the external repo requires authentication and select the (`basic-auth` or `ssh-auth`) secret that contains the credentials. Read more about Git authentication [here](https://tekton.dev/docs/how-to-guides/clone-repository/#git-authentication).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link to the Tekton docs does not provide an example for the format of the HTTP basic auth Secret. We could also add this reference for that:
https://github.com/tektoncd/catalog/tree/main/task/git-clone/0.9/#using-basic-auth-credentials

@srodenhuis srodenhuis marked this pull request as draft November 27, 2024 09:40
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

Successfully merging this pull request may close these issues.

2 participants