docker-in-docker gitlab-ci code example
Example: docker-in-docker gitlab-ci
build:
stage: build
image: docker:19.03.11
services:
- docker:19.03.11-dind
script:
- docker build -t my-image .
- docker push my-image
build:
stage: build
image: docker:19.03.11
services:
- docker:19.03.11-dind
script:
- docker build -t my-image .
- docker push my-image