1image: alpine/latest
2repositories:
3 gabrielgio.me: >
4 https://artifacts.gabrielgio.me/repo/v3.17/
5 https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub
6 mail@gabrielgio.me-62ddc4dc.rsa.pub
7packages:
8 - openssl
9 - rsync
10 - alpine-sdk
11environment:
12 remote: builds@gabrielgio.me
13 remote_path: /var/www/artifacts.gabrielgio.me/repo/
14 packages: []
15sources:
16 - https://git.sr.ht/~gabrielgio/apkbuilds
17secrets:
18 - 008c4f67-b864-47f8-9790-cd32f2ae8516
19 - df9d57f4-43bb-4084-a748-dbf02848bdd0
20 - d8a9e8ed-cdb0-4e0e-9238-361acbe8611f
21tasks:
22 - setup: |
23 cd apkbuilds
24 ./pkgkit add-repo -s apks ~/.abuild/mail@gabrielgio.me-62ddc4dc.rsa
25 - build: |
26 cd apkbuilds
27 ./pkgkit build -cu "${packages[@]}"
28 - deploy: |
29 cd apkbuilds
30 ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"