diff --git a/Makefile b/Makefile
index 43e0f57892ac4bcdeafabde64fdb4d040360ef04..29f6fd9526beeda82f21317b8829e784b6749463 100644
--- a/Makefile
+++ b/Makefile
@@ -4,4 +4,4 @@ build:
go build -ldflags="-X 'main.Version=${VERSION}'"
tar: build
- XZ_OPT=-9 tar -cvf midr-${VERSION}.tar.xz midr templates/
+ tar -cvf midr-${VERSION}.tar.xz midr templates/
diff --git a/build.yml b/build.yml
index 3bb5c8e8fa9f3943052ea36afe49a9519d5d5fbd..cb918cc5f830152e3b098bd56c8f8792cc8bf810 100644
--- a/build.yml
+++ b/build.yml
@@ -1,5 +1,5 @@
# this build is meant to be submitted manually
-image: fedora/36
+image: alpine/latest
packages:
- rsync
- make
@@ -14,13 +14,15 @@
environment:
deploy: builds@gabrielgio.me
target: artifacts.gabrielgio.me/midr
+ GOPROXY: direct
+ XZ_OPT: -9
tasks:
- build: |
cd midr
make tar
- deploy: |
- cd jnfilter
+ cd midr
sshopts="ssh -o StrictHostKeyChecking=no"
rsync --rsh="$sshopts" -rP *.tar.xz $deploy:/var/www/$target