Private Repository

Working with private repository, it can be a git repository or container image.

When using a private Git Repository you need to create a Repository with username and password.

Add a private git repository

meltcd repo add <repo-url> --git --username <username> --password <password>

Options

--git if the repo is a git repo. ex. https://github.com/k9exp/infra-test

--image if the repo is container image. ex. ghcr.io/meltred/meltcd

List all private Git Repository added

meltcd repo ls

# or

meltcd repo list

Remove private Git Repository

meltcd repo rm <repo-url>

# or 

meltcd repo remove <repo-url>

Update repository credentials

meltcd repo update <repo> -git --username <username> --password <password>

Option

--git and --image is also present here.

Private GitHub Repository

When using private github repository, you can use your GitHub Username as username and a GitHub Personal Access Token as password

Your can create a Github Personal Access Token from GitHub > Settings > Developer Settings > Personal Access Token see https://github.com/settings/tokens

Last updated