Skip to content

Commit

Permalink
Remove the private modules config from the GitLab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
akalipetis committed Feb 1, 2024
1 parent e2f44cb commit e9fd86d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ stages:
variables:
GOPATH: $CI_PROJECT_DIR/.go
before_script:
- git config --global url."ssh://[email protected]/".insteadOf "https://github.com/"
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
- echo 'github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl' >> ~/.ssh/known_hosts
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
- echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_ed25519.pub
- chmod 400 ~/.ssh/id_*
- mkdir -p .go
- export PATH=$PATH:$GOPATH/bin
cache:
Expand Down

0 comments on commit e9fd86d

Please sign in to comment.