diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d4a9d5139f704993fa1270f077aff560d0beb39e..540230ab903b994d085a08b7ae9c74f7cbaf865c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,9 +40,6 @@ lint:
     script:
       # writes golangci-lint output to gl-code-quality-report.json
       - apk add --update make jq
-      - go mod download
-      - echo "GITLAB_LOGIN=${GITLAB_LOGIN}" > build_env.env
-      - echo "GITLAB_TOKEN=${GITLAB_TOKEN}" >> build_env.env
       - echo "machine code.fbi.h-da.de login ${GITLAB_LOGIN} password ${GITLAB_TOKEN}" > ~/.netrc
       - make lint
     needs: []