diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-31 16:12:16 +0000 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-31 16:12:16 +0000 |
commit | 2bac589ca6d0aa95e467df349ba4f608805510fe (patch) | |
tree | 9ddcce470151a173ad209dca18e7caf73eab556c | |
parent | 30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab (diff) | |
download | apkbuilds-2bac589ca6d0aa95e467df349ba4f608805510fe.tar.gz apkbuilds-2bac589ca6d0aa95e467df349ba4f608805510fe.tar.bz2 apkbuilds-2bac589ca6d0aa95e467df349ba4f608805510fe.zip |
fix: Add repo properly
-rw-r--r-- | build.yml | 11 | ||||
-rw-r--r-- | genpass/APKBUILD | 3 |
2 files changed, 9 insertions, 5 deletions
@@ -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 @@ packages: 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 fd19df7..a9f99f0 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 @@ build() { source $HOME/.cargo/env curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh make - } check() { |