docker-node-pandoc/.woodpecker.yml
Zhao Zuohong c3daaace08
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
改用两阶段构建
2023-12-09 22:50:23 +08:00

13 lines
442 B
YAML

steps:
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