Snippet Path

Create secret to use custom docker registries

Authors

Replace these values:

  • SOMESECRET with e.g. someSecretName
  • SERVER with e.g. mygitlab.local:5050
  • SOMEONE with e.g. john
  • SOMETHING with e.g. myapikey
  • SOMEMAIL with e.g. semanticrelease@gitlab.local
bash
kubectl create secret docker-registry SOMESECRET --docker-server=SERVER --docker-username=SOMEONE --docker-password=SOMETHING --docker-email=SOMEMAIL