docker-hugo-ext/.woodpecker.yml

14 lines
486 B
YAML
Raw Normal View History

2023-12-10 17:09:24 +08:00
steps:
build:
2023-12-12 16:40:00 +08:00
image: git.zhaozuohong.vip/zhao/docker-docker
2023-12-10 17:09:24 +08:00
commands:
- docker build . --rm -t git.zhaozuohong.vip/zhao/docker-hugo-ext
- docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD git.zhaozuohong.vip
- docker push git.zhaozuohong.vip/zhao/docker-hugo-ext
- docker rmi git.zhaozuohong.vip/zhao/docker-hugo-ext
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets:
- registry_username
- registry_password