Guest User

Untitled

a guest
Jan 26th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. echo "Creating the gitlab-registry secret ..."
  2. # Save the JSON to create the gitlab-registry docker-registry secret
  3. GITLAB_REGISTRY_SECRET_JSON=$(
  4. kubectl create secret --namespace=$KUBE_NAMESPACE \
  5. docker-registry gitlab-registry \
  6. --docker-server="$CI_REGISTRY" \
  7. --docker-username="${CI_DEPLOY_USER:-$CI_REGISTRY_USER}" \
  8. --docker-password="${CI_DEPLOY_PASSWORD:-$CI_REGISTRY_PASSWORD}" \
  9. --docker-email="$GITLAB_USER_EMAIL" \
  10. --output json \
  11. --dry-run
  12. )
Add Comment
Please, Sign In to add comment