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