library/.woodpecker.yml
David Ashby ca27b9f1aa
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
secrets
2022-04-03 15:19:06 -04:00

18 lines
476 B
YAML

pipeline:
build:
image: docker
environment:
- DOCKER_HOST=tcp://docker:2375
commands:
- sleep 5
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
- docker build -t registry.yetaga.in/library:latest .
- docker push registry.yetaga.in/library:latest
secrets: [docker_username, docker_password]
services:
docker:
image: docker:18.09-dind
command: ["--storage-driver=vfs"]
privileged: true