blob: 371158633b0a68eba09afec35590273f8294b421 (
plain) (
tree)
|
|
variables:
GIT_SUBMODULE_STRATEGY: recursive
dockerize:
image: docker
services:
- docker:dind
script:
- docker build -t $CI_REGISTRY_IMAGE .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE
only:
- master
test_dockerize:
image: docker
services:
- docker:dind
script:
- docker build -t $CI_REGISTRY_IMAGE .
except:
- master
|