Setup docker:dind
This commit is contained in:
parent
a73c19b786
commit
16e54eebcf
@ -16,8 +16,12 @@ build-eleventy:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
stage: docker-build
|
stage: docker-build
|
||||||
|
image: docker:latest
|
||||||
script:
|
script:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
|
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
|
||||||
|
Loading…
Reference in New Issue
Block a user