How to build customer image from a private repo. All examples with the install_app script are using http public repos
clone the apps as part of ci using ci environment variables for secrets.
then copy the repo into image and pip install.
check this gitlab ci file .gitlab-ci.yml · main · GWPTCorg / containers_builds · GitLab
Please don’t complain that the repo I shared doesn’t use private repo. You can use private repo instead, pass username password as env vars.
I used Github’s PAT
1 Like
yes this format https://username:PAT@github.com/derr/plus.git
works
ok,
Actually, the problem comes when I store the PAT by export PAT
then having the format like
https://username:$PAT@github.com/derr/plus.gi
this format does not work
is there something wrong…???