2022-04-03 00:20:34 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: docker
|
|
|
|
environment:
|
2022-04-03 00:21:15 +00:00
|
|
|
- DOCKER_HOST=tcp://docker:2376
|
2022-04-03 00:20:34 +00:00
|
|
|
commands:
|
|
|
|
- docker --tls=false build -t localhost:5000/library:latest .
|
|
|
|
- docker push localhost:5000/library:latest
|
|
|
|
|
|
|
|
services:
|
|
|
|
docker:
|
|
|
|
image: docker:dind
|
|
|
|
command: ["--storage-driver=vfs", "--tls=false"]
|
|
|
|
privileged: true
|