apkbuilds @ 7062fc064b06b78592e77ba809990c0f1a701391

 1image: alpine/3.15
 2packages:
 3  - openssl
 4  - rsync
 5  - alpine-sdk
 6environment:
 7  deploy: builds@gabrielgio.me
 8  target: artifacts.gabrielgio.me/repo/
 9sources:
10  - https://git.sr.ht/~gabrielgio/apkbuilds
11secrets:
12  - 008c4f67-b864-47f8-9790-cd32f2ae8516
13  - df9d57f4-43bb-4084-a748-dbf02848bdd0
14tasks:
15  - setup: |
16      echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf      
17  - build: |
18      cd apkbuilds/midr
19      abuild -r      
20  - deploy: |
21      sshopts="ssh -o StrictHostKeyChecking=no"
22      rsync --rsh="$sshopts" -rP ~/packages/apkbuilds/ $deploy:/var/www/$target      
23