From 3404243602bb416fc515bb6e9ce8fb10791681b2 Mon Sep 17 00:00:00 2001 From: Anthony Hinsinger Date: Thu, 17 May 2018 10:28:54 +0200 Subject: [PATCH] Updated drone recipe --- .drone.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5b4d810..6fdeb60 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,17 +2,23 @@ pipeline: download: image: plugins/download source: https://buildroot.org/downloads/buildroot-2018.02.2.tar.gz + fixperm: + image: debian + commands: + - mkdir builddir + - chown 1000:1000 builddir build: - image: sublimino/debian-build-essential + image: buildroot/base:20180318.1724 commands: - - tar xvzf buildroot-2018.02.2.tar.gz + - cd builddir + - tar xvzf ../buildroot-2018.02.2.tar.gz - cd buildroot-2018.02.2 - - make BR2_EXTERNAL=../ ttngw_defconfig + - make BR2_EXTERNAL=../../ ttngw_defconfig - make publish: image: plugins/gitea-release secrets: [ gitea_token ] base_url: https://dev.a-toy.eu - files: output/images/sdcard.img + files: builddir/buildroot-2018.02.2/output/images/sdcard.img when: event: tag