Create and publish docker containers to Gitlab

  • docker login registry.gitlab.com
  • docker build -t 'dockername' .
  • docker tag dockername registry.gitlab.com/username/dockername:latest
  • docker push registry.gitlab.com/username/dockername