apkbuilds @ 7062fc064b06b78592e77ba809990c0f1a701391

feat: Add working build

For now it only builds a single project ... as there is only one project to be build.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..036d042add9efeb3c3e382eccc9c2a62d718fd12
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2021 Gabriel Arakaki Giovanini
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice (including the next
+paragraph) shall be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..bd156d392cbde34f365a67779d31e2e0b4db4b8f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,7 @@
+# apkbuilds
+
+This is me just me playing with alpine repos. Also I'll be deploying my futures
+toy project into alpine machines, so this will come handy.
+
+Who needs docker anyways ;)
+
diff --git a/build.yml b/build.yml
new file mode 100644
index 0000000000000000000000000000000000000000..4829f1a1e3b574b2e1c1ec2ec157ef11eeb4eb8c
--- /dev/null
+++ b/build.yml
@@ -0,0 +1,23 @@
+image: alpine/3.15
+packages:
+  - openssl
+  - rsync
+  - alpine-sdk
+environment:
+  deploy: builds@gabrielgio.me
+  target: artifacts.gabrielgio.me/repo/
+sources:
+  - https://git.sr.ht/~gabrielgio/apkbuilds
+secrets:
+  - 008c4f67-b864-47f8-9790-cd32f2ae8516
+  - df9d57f4-43bb-4084-a748-dbf02848bdd0
+tasks:
+  - setup: |
+      echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf
+  - build: |
+      cd apkbuilds/midr
+      abuild -r
+  - deploy: |
+      sshopts="ssh -o StrictHostKeyChecking=no"
+      rsync --rsh="$sshopts" -rP ~/packages/apkbuilds/ $deploy:/var/www/$target
+