image: alpine/3.16 repositories: gabrielgio.me: > https://artifacts.gabrielgio.me/repo/v3.16/ https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub mail@gabrielgio.me-62ddc4dc.rsa.pub packages: - openssl - rsync - alpine-sdk environment: remote: builds@gabrielgio.me remote_path: /var/www/artifacts.gabrielgio.me/repo/ packages: [] sources: - https://git.sr.ht/~gabrielgio/apkbuilds secrets: - 008c4f67-b864-47f8-9790-cd32f2ae8516 - df9d57f4-43bb-4084-a748-dbf02848bdd0 tasks: - setup: | cd apkbuilds ./pkgkit add-repo -s apks ~/.abuild/mail@gabrielgio.me-62ddc4dc.rsa - build: | cd apkbuilds ./pkgkit build -cu "${packages[@]}" - deploy: | cd apkbuilds echo "StrictHostKeyChecking=no" >> ~/.ssh/config ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"