author | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-11-22 12:22:01 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-11-22 12:46:58 UTC |
parent | aa9455c418f7a30575944618e02b8c71cebfb5c4 |
.gitlab-ci.yml | +4 | -0 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f8f88e..e9aa0ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,8 @@ integration_latest: # Build docker image, upload to gitlab registry. gitlab: stage: image + rules: + - if: '$CI_REGISTRY_IMAGE' image: docker:stable services: - docker:dind @@ -80,6 +82,8 @@ gitlab: # Build docker image, upload to dockerhub registry. dockerhub: stage: image + rules: + - if: '$DOCKER_REGISTRY_USER' image: docker:stable services: - docker:dind