diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a428e66eb5b8e480e188c67c54986de7622b7755..656020ba7ccae7802693e3ba563dfe0bb919a418 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,7 +34,8 @@ format:
 compile:
   stage: build
   script:
-    - go build -race -ldflags "-extldflags '-static'" -o eth-log-alerting
+    - go get github.com/mitchellh/gox
+    - gox -output="builds/{{.Dir}}_{{.OS}}_{{.Arch}}"
   artifacts:
     paths:
-      - eth-log-alerting
+      - builds/