Skip to content

Commit

Permalink
trying to fix correct image names
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Apr 12, 2022
1 parent 4b37727 commit 968d75d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/docker_publisher_osparc_services/gitlab_ci_setup/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
]

Expand Down

0 comments on commit 968d75d

Please sign in to comment.