This commit is contained in:
parent
a7d9a63399
commit
c75fc3ba4e
1 changed files with 13 additions and 0 deletions
13
.woodpecker.yml
Normal file
13
.woodpecker.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
steps:
|
||||
build:
|
||||
image: 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
|
Loading…
Reference in a new issue