From 968d75d194f9175d9977bf8d2ae6d5ce17317bb1 Mon Sep 17 00:00:00 2001 From: Andrei Neagu Date: Tue, 12 Apr 2022 08:33:37 +0200 Subject: [PATCH] trying to fix correct image names --- .../gitlab_ci_setup/commands.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/docker_publisher_osparc_services/gitlab_ci_setup/commands.py b/src/docker_publisher_osparc_services/gitlab_ci_setup/commands.py index ef83a9e..16e2350 100644 --- a/src/docker_publisher_osparc_services/gitlab_ci_setup/commands.py +++ b/src/docker_publisher_osparc_services/gitlab_ci_setup/commands.py @@ -14,20 +14,20 @@ "cd ${SCCI_CLONE_DIR}", "ooil compose", "docker-compose build", - "docker tag ${SCCI_IMAGE_NAME}:${SCCI_TAG} ${SCCI_IMAGE_NAME}:${SCCI_TAG}", - "docker push ${SCCI_IMAGE_NAME}:${SCCI_TAG}", + "docker tag ${SCCI_IMAGE_NAME}:${SCCI_TAG} ${SCCI_CI_IMAGE_NAME}:${SCCI_TAG}", + "docker push ${SCCI_CI_IMAGE_NAME}:${SCCI_TAG}", ] COMMANDS_TEST_BASE: CommandList = [ "git clone ${SCCI_REPO} ${SCCI_CLONE_DIR}", "cd ${SCCI_CLONE_DIR}", - "docker pull ${SCCI_IMAGE_NAME}:${SCCI_TAG}", + "docker pull ${SCCI_CI_IMAGE_NAME}:${SCCI_TAG}", # if user defines extra commands those will be append here ] COMMANDS_PUSH: CommandList = [ - "docker pull ${SCCI_IMAGE_NAME}:${SCCI_TAG}", - "docker tag ${SCCI_IMAGE_NAME}:${SCCI_TAG} ${SCCI_REMOTE_NAME}:${SCCI_TAG}", + "docker pull ${SCCI_CI_IMAGE_NAME}:${SCCI_TAG}", + "docker tag ${SCCI_CI_IMAGE_NAME}:${SCCI_TAG} ${SCCI_REMOTE_NAME}:${SCCI_TAG}", "docker push ${SCCI_REMOTE_NAME}:${SCCI_TAG}", ]