apkbuilds @ 326ff70b572b18d5edfb6cdd30bb2da725290c7a

 1image: alpine/3.15
 2repositories:
 3  gabrielgio.me: >
 4    https://artifacts.gabrielgio.me/repo/
 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
20tasks:
21  - setup: |
22      cd apkbuilds 
23      ./pkgkit add-repo -s apks ~/.abuild/mail@gabrielgio.me-62ddc4dc.rsa      
24  - build: |
25      cd apkbuilds
26      ./pkgkit build -cu "${packages[@]}"      
27  - deploy: |
28      cd apkbuilds
29      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
30      ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"