Zhao Zuohong
8e66e70e37
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
13 lines
486 B
YAML
13 lines
486 B
YAML
steps:
|
|
build:
|
|
image: git.zhaozuohong.vip/zhao/docker-docker
|
|
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
|