library/.woodpecker.yml

16 lines
362 B
YAML
Raw Normal View History

2022-04-03 00:20:34 +00:00
pipeline:
build:
image: docker
environment:
2022-04-03 00:27:50 +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:20:34 +00:00
- 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