diff --git a/build.yml b/build.yml
index 1b6aa143f22daa24c5edad2690f535c15ec80fef..7b2adf7c05a341c27875ea6143209169a1addb03 100644
--- a/build.yml
+++ b/build.yml
@@ -1,4 +1,9 @@
image: alpine/3.15
+repositories:
+ gabrielgio.me: >
+ https://artifacts.gabrielgio.me/repo/
+ https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub
+ mail@gabrielgio.me-62ddc4dc.rsa.pub
packages:
- openssl
- rsync
@@ -6,7 +11,7 @@ - alpine-sdk
environment:
deploy: builds@gabrielgio.me
target: artifacts.gabrielgio.me/repo/
- packages: ["midr", "genpass"]
+ packages: ["genpass", "midr"]
sources:
- https://git.sr.ht/~gabrielgio/apkbuilds
secrets:
@@ -16,12 +21,12 @@ tasks:
- setup: |
echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf
- build: |
+ cd apkbuilds
for pkg in "${packages[@]}"; do
- cd apkbuilds/"$pkg"
+ cd "$pkg"
abuild -r
cd ..
done
- deploy: |
sshopts="ssh -o StrictHostKeyChecking=no"
rsync --rsh="$sshopts" -rP ~/packages/apkbuilds/ $deploy:/var/www/$target
-
diff --git a/genpass/APKBUILD b/genpass/APKBUILD
index fd19df7796089f871083a9bdcac20939bcd77497..a9f99f05a6445b9b07c3ddd01926aba29f269929 100644
--- a/genpass/APKBUILD
+++ b/genpass/APKBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me>
+# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
pkgname=genpass
pkgver=0.1.0
pkgrel=0
@@ -25,7 +25,6 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
source $HOME/.cargo/env
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
make
-
}
check() {