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:
- DOCKER_HOST=tcp://docker:2376
2022-04-03 00:20:34 +00:00
commands:
2022-04-03 00:27:50 +00:00
- sleep 15
2022-04-03 00:35:29 +00:00
- docker --tls build -t localhost:5000/library:latest .
2022-04-03 00:20:34 +00:00
- docker push localhost:5000/library:latest
services:
docker:
image: docker:dind
2022-04-03 00:32:44 +00:00
command: ["--storage-driver=vfs"]
2022-04-03 00:20:34 +00:00
privileged: true