diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a5ad500a8f5ccf61f8e7d312eed3aac313ace2a..f8f5949519cb9736c8a886cd32eb09365651ecd7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,9 +15,6 @@ before_script:
   - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" --add
   - export PATH=$HOME/go/bin:$PATH
 
-  - export GOPATH=$(go env GOPATH)
-  - export GOBIN=$(go env GOPATH)/bin
-
 stages:
   - test
   - build