From ba0a746ffbe853c4f51d6d864517ab6684de7536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 9 Jul 2021 14:48:37 +0200 Subject: [PATCH] start --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9741ad0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,36 @@ +kind: pipeline +type: docker +name: default +steps: + - name: build-raspi-image + image: docker:dind + volumes: + - name: dockersock + path: /var/run + environment: + ALPINE_BRANCH: v3.14 + ALPINE_MIRROR: https://quantum-mirror.hu/mirrors/pub/alpine/ + DEFAULT_TIMEZONE: Europe/Budapest + commands: + - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com + - docker run -it -v $PWD/output:/output registry.kmlabz.com/birbnetes/raspi-alpine-builder + + - name: ms-teams + image: kuperiu/drone-teams + settings: + webhook: + from_secret: TEAMS_WEBHOOK + when: + status: [ failure ] + +services: +- name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run + +volumes: +- name: dockersock + temp: {}