- # NOTE: golang is still using golang-1.15
- - mkdir -p $HOME/go/bin
- - ln -sf /usr/lib/go-1.16/bin/go $HOME/go/bin
- - ln -sf /usr/lib/go-1.16/bin/gofmt $HOME/go/bin
+ # Gitlab-runner uses umask 0000 (wtf?!) and mixes nobody and root user
+ # when setting up the environment. This breaks ssh's permission check on
+ # authorized_keys.
+ - chown -R root:root /builds
+ - chmod -R go-w /builds