Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zoe
main
Commits
cf94e169
Commit
cf94e169
authored
Nov 30, 2017
by
Daniele Venzano
Browse files
Use the correct image for deployment
parent
896d5283
Pipeline
#4814
passed with stages
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cf94e169
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment