42 lines
832 B
YAML
42 lines
832 B
YAML
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
|
|
# - RSA_PRIVATE_KEY="$$abuild_ssh_key"
|
|
# - RSA_PRIVATE_KEY_NAME="$$abuild_ssh_key_name"
|
|
secrets:
|
|
- source: abuild_ssh_key
|
|
target: RSA_PRIVATE_KEY
|
|
- source: abuild_ssh_key_name
|
|
target: RSA_PRIVATE_KEY_NAME
|
|
|
|
list:
|
|
image: arm32v6/alpine:3.7
|
|
commands:
|
|
- find /home/builder/package
|
|
|
|
gitea_release:
|
|
image: plugins/gitea-release:linux-arm
|
|
files: ./*.apk
|
|
checksum:
|
|
- md5
|
|
- sha1
|
|
- sha256
|
|
- sha512
|
|
secrets: [ gitea_token ]
|
|
base_url: https://git.asperti.com
|
|
# when:
|
|
# event: tag
|