drone support #1

Closed
paspo wants to merge 15 commits from paspo:drone into master
1 changed files with 32 additions and 5 deletions

View File

@ -1,7 +1,34 @@
platform: linux/arm
workspace:
base: /home/builder/package
path: /
clone:
default:
image: plugins/git:linux-arm
depth: 50
pipeline: pipeline:
build: build:
image: alpine:3.7 image: arm32v6/abuild:latest
commands: environment:
- apk -U add abuild - REPODEST=/home/builder/package
- abuild-apk update secrets:
- abuild -r - 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