From d96bc718b8953acb562dc19b72ade371e1c638ec Mon Sep 17 00:00:00 2001
From: Mihai Baruta <baruta.mihai99@gmail.com>
Date: Sat, 12 Nov 2022 12:11:10 +0100
Subject: [PATCH] Update default docker registry

---
 .gitlab-ci.yml |  2 +-
 local.sh       | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5f5fc8..f7982e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,6 @@ build:
 checker:
     stage: test
     image:
-        name: registry.gitlab.com/jokeswar/vmchecker-next-assignment
+        name: gitlab.cs.pub.ro:5050/jokeswar/vmchecker-next-assignment
     script:
         - echo ""
diff --git a/local.sh b/local.sh
index e9bf98d..f828d1c 100755
--- a/local.sh
+++ b/local.sh
@@ -11,7 +11,7 @@ NC='\033[0m'
 
 DEFAULT_IMAGE_NAME="$(basename "$(pwd)")"
 DEFAULT_TAG='latest'
-DEFAULT_REGISTRY='registry.gitlab.cs.pub.ro'
+DEFAULT_REGISTRY='gitlab.cs.pub.ro:5050'
 
 #=============================================================================
 #=================================== UTILS ===================================
@@ -43,24 +43,24 @@ print_help() {
     echo ""
     echo "      --image_name <image_name> - the name of the image (default: current directory name)"
     echo "      --tag <tag> - the tag of the image (default: 'latest')"
-    echo "      --registry <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')"
+    echo "      --registry <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')"
     echo ""
     echo "local.sh docker push --user <user> --token <token> [--image_name <image_name>] [--tag <tag>] [--registry <registry>]"
     echo ""
     echo "      --image_name <image_name> - the name of the image (default: current directory name)"
     echo "      --tag <tag> - the tag of the image (default: 'latest')"
-    echo "      --registry <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')"
+    echo "      --registry <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')"
     echo "      --user <registry> - username for the repository registry"
-    echo "      --token <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')"
+    echo "      --token <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')"
     echo ""
     echo "local.sh docker test [--full_image_name <full_image_name>] [argumets_for_checker]"
     echo ""
-    echo "      --full_image_name <full_image_name> - the full name of the image (default: registry.gitlab.cs.pub.ro/<current_directory_name>:latest)"
+    echo "      --full_image_name <full_image_name> - the full name of the image (default: gitlab.cs.pub.ro:5050/<current_directory_name>:latest)"
     echo "      argumets_for_checker - list of space separated arguments to be passed to the checker"
     echo ""
     echo "local.sh docker interactive [--full_image_name <full_image_name>] [--use_executable <executbale>]"
     echo ""
-    echo "      --full_image_name <full_image_name> - the full name of the image (default: registry.gitlab.cs.pub.ro/<current_directory_name>:latest)"
+    echo "      --full_image_name <full_image_name> - the full name of the image (default: gitlab.cs.pub.ro:5050/<current_directory_name>:latest)"
     echo "      --use_executable <executable> - command to run inside the container (default: /bin/bash)"
     echo ""
     echo "local.sh checker [--remove_image] [--use_existing_image <image_name>] [argumets_for_checker]"
-- 
GitLab