diff --git a/Makefile b/Makefile
index cdb24ab45499eb64c46ae1188056a20d4723786e..7fdfcd085dff67f95599d5363baa64c69947efb6 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ dep:
 	@go get github.com/mitchellh/gox
 
 build: dep
-	@gox -output="eth-log-alerting-builds/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=4
+	@gox -output="${CI_PROJECT_DIR}/eth-log-alerting-builds/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=4
 
 clean:
 	@rm -f $(PROJECT_NAME)