This commit is contained in:
Simon Vieille 2023-02-11 14:48:06 +01:00
parent 6c4dc554a5
commit 9a2a469da7
Signed by: deblan
GPG key ID: 579388D585F70417

14
.woodpecker.yml Normal file
View 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]