Commit b0ef2186 authored by Matija Obreza's avatar Matija Obreza

Revert "Tag image deployed to sandbox as :latest and to production as :production"

parent e9439901
......@@ -191,10 +191,6 @@ 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} login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- ${DOCKER_CMD} push ${CI_REGISTRY_IMAGE}:latest
- ${DOCKER_CMD} logout $CI_REGISTRY
environment:
name: sandbox
url: https://genesys.demo.genesys-pgr.org
......@@ -224,10 +220,6 @@ 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} login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- ${DOCKER_CMD} push ${CI_REGISTRY_IMAGE}:production
- ${DOCKER_CMD} logout $CI_REGISTRY
environment:
name: beta
url: https://beta.genesys-pgr.org
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