Github pages blog
Maintenence stuff:
The general gitlab config file:
# vim /etc/gitlab/gitlab.rb
E.g:
external_url 'https://staging-gitlab.timo.test'
# external_url 'https://gitlab.timo.test'
Do this:
echo -n "my_username:my_password" | base64
Take the output and put it in a file in this format:
{
"auths": {
"registry.example.com:5000": {
"auth": "(Base64 content from above)"
}
}
}
Then put it in an env variable in your CI job as:
DOCKER_AUTH_CONFIG
kubectl -n test-app create secret generic gitlab-registry \
--from-file=.dockerconfigjson=/tmp/docker.json \
--type=kubernetes.io/dockerconfigjson