Commit e69f91be authored by Daniele Venzano's avatar Daniele Venzano

Keep trying

parent d23a967f
image: docker:latest
services:
- docker:dind
stages:
- static-test
- build
......@@ -13,12 +9,6 @@ variables:
POSTGRES_DB: zoe
POSTGRES_USER: zoeuser
POSTGRES_PASSWORD: zoepass
DOCKER_DRIVER: overlay
before_script:
- mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
- cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
# - docker login -u gitlab-ci-runner -p $REGISTRY_PASSWORD $DOCKER_REGISTRY
lint:
stage: static-test
......@@ -40,7 +30,12 @@ lint:
# - /usr/bin/sonar-scanner-run.sh
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
# - docker login -u gitlab-ci-runner -p $REGISTRY_PASSWORD $DOCKER_REGISTRY
script:
- docker build --pull -t $ZOE_TEST_IMAGE .
- docker push $ZOE_TEST_IMAGE
......
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