add ci
This commit is contained in:
parent
6c4dc554a5
commit
9a2a469da7
14
.woodpecker.yml
Normal file
14
.woodpecker.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
pipeline:
|
||||
docker:
|
||||
image: docker:dind
|
||||
secrets: [registry_user, registry_password]
|
||||
commands:
|
||||
- echo "$REGISTRY_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin gitnet.fr
|
||||
- echo "$REGISTRY_DOCKER_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin
|
||||
- docker build -t "gitnet.fr/deblan/mkdocs" .
|
||||
- docker push "gitnet.fr/deblan/mkdocs"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
- event: cron
|
||||
- branch: [master]
|
Loading…
Reference in a new issue