Commit 8cfc2df1 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: docker tag command typo

parent cf5dd908
......@@ -191,7 +191,7 @@ deploy to sandbox:
# Actions
- echo "Deploying ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION} to sandbox"
- ${DOCKER_CMD} service update --image ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION} genesysui_sandbox
- ${DOCKER_CMD} tag ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION} ${CI_REGISTRY_IMAGE}:latest .
- ${DOCKER_CMD} tag ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION} ${CI_REGISTRY_IMAGE}:latest
- ${DOCKER_CMD} login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- ${DOCKER_CMD} push ${CI_REGISTRY_IMAGE}:latest
- ${DOCKER_CMD} logout $CI_REGISTRY
......@@ -224,7 +224,7 @@ deploy to production:
# Actions
- echo "Deploying ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION}-${CI_COMMIT_REF_SLUG} to production"
- ${DOCKER_CMD} service update --image ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION}-${CI_COMMIT_REF_SLUG} genesysui_production
- ${DOCKER_CMD} tag ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION}-${CI_COMMIT_REF_SLUG} ${CI_REGISTRY_IMAGE}:production .
- ${DOCKER_CMD} tag ${CI_REGISTRY_IMAGE}:${IMAGE_VERSION}-${CI_COMMIT_REF_SLUG} ${CI_REGISTRY_IMAGE}:production
- ${DOCKER_CMD} login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- ${DOCKER_CMD} push ${CI_REGISTRY_IMAGE}:production
- ${DOCKER_CMD} logout $CI_REGISTRY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment