docker-node-pandoc/.woodpecker.yml

14 lines
445 B
YAML
Raw Normal View History

2022-08-19 09:17:22 +08:00
pipeline:
build:
image: docker
commands:
- docker build . --rm -t git.zhaozuohong.vip/zhao/node-pandoc
- docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD git.zhaozuohong.vip
- docker push git.zhaozuohong.vip/zhao/node-pandoc
- docker rmi git.zhaozuohong.vip/zhao/node-pandoc
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets:
- registry_username
- registry_password