library/.woodpecker.yml

16 lines
341 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 00:27:50 +00:00
- sleep 15
2022-04-03 00:37:52 +00:00
- docker build -t localhost:5000/library:latest .
2022-04-03 00:20:34 +00:00
- docker push localhost:5000/library:latest
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