From 6182c7760a7578f2e990c079b6e502fac9fdfddf Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Mon, 20 Aug 2018 09:23:30 +0000 Subject: [PATCH] Aggiungi '.drone.yml' --- .drone.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a779f48 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,34 @@ +platform: linux/arm + +workspace: + base: /home/builder/package + path: / + +clone: + default: + image: plugins/git:linux-arm + depth: 50 + +pipeline: + build: + image: arm32v6/abuild:latest + environment: + - REPODEST=/home/builder/package + secrets: + - source: abuild_ssh_key + target: RSA_PRIVATE_KEY + - source: abuild_ssh_key_name + target: RSA_PRIVATE_KEY_NAME + + gitea_release: + image: plugins/gitea-release:linux-arm + files: builder/armhf/*.apk + checksum: + - md5 + - sha1 + - sha256 + - sha512 + secrets: [ gitea_token ] + base_url: https://git.asperti.com + when: + event: tag \ No newline at end of file -- 2.45.2