library/.woodpecker.yml

16 lines
308 B
YAML
Raw Normal View History

2022-04-03 00:20:34 +00:00
pipeline:
build:
image: docker
environment:
2022-04-03 00:37:52 +00:00
- DOCKER_HOST=tcp://docker:2375
2022-04-03 00:20:34 +00:00
commands:
2022-04-03 17:51:22 +00:00
- sleep 5
2022-04-03 00:37:52 +00:00
- docker build -t localhost:5000/library:latest .
2022-04-03 17:51:22 +00:00
- docker ps
2022-04-03 00:20:34 +00:00
services:
docker:
2022-04-03 00:37:52 +00:00
image: docker:18.09-dind
2022-04-03 00:32:44 +00:00
command: ["--storage-driver=vfs"]
2022-04-03 00:20:34 +00:00
privileged: true