steps: docker_lint: image: pipelinecomponents/hadolint commands: - hadolint -t error Dockerfile docker: image: docker:dind secrets: [registry_user, registry_password] commands: - docker pull squidfunk/mkdocs-material - 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 - branch: [main]