Commit cf94e169 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Use the correct image for deployment

parent 896d5283
Pipeline #4814 passed with stages
in 2 minutes and 37 seconds
......@@ -52,8 +52,6 @@ images:
image: docker:latest
stage: build
before_script:
- mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
- cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
- mkdir -p $HOME/.docker
- echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
script:
......@@ -85,7 +83,7 @@ mirror-github:
docs:
stage: deploy
image: ${DOCKER_REGISTRY}/ci/${ZOE_TEST_IMAGE}
image: zoerepo/${ZOE_TEST_IMAGE}
before_script:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
......@@ -103,7 +101,7 @@ docs:
zoe:
stage: deploy
image: ${DOCKER_REGISTRY}/ci/${ZOE_TEST_IMAGE}
image: zoerepo/${ZOE_TEST_IMAGE}
before_script:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
......@@ -122,16 +120,3 @@ zoe:
name: staging
only:
- master
cleanup-images:
image: docker:latest
stage: cleanup
before_script:
- mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
- cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
- mkdir -p $HOME/.docker
- echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
script:
- docker rmi ${DOCKER_REGISTRY}/ci/${ZOE_TEST_IMAGE}
only:
- master
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