2023-09-29 16:03:38 +02:00
|
|
|
steps:
|
2023-10-26 17:23:21 +02:00
|
|
|
docker_lint:
|
|
|
|
image: pipelinecomponents/hadolint
|
|
|
|
commands:
|
|
|
|
- hadolint -t error Dockerfile
|
|
|
|
|
2023-02-11 14:48:06 +01:00
|
|
|
docker:
|
|
|
|
image: docker:dind
|
|
|
|
secrets: [registry_user, registry_password]
|
|
|
|
commands:
|
2024-03-31 17:10:37 +02:00
|
|
|
- docker pull polinux/mkdocs
|
2023-02-11 14:48:06 +01:00
|
|
|
- echo "$REGISTRY_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin gitnet.fr
|
|
|
|
- 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
|
2023-02-11 14:52:08 +01:00
|
|
|
- branch: [main]
|