[Git][root/netboxadm][main] fix(ci): use gitlab-ci-token user instead of oauth2

Fernando K pushed to branch main at Root / Netboxadm Commits: 09a02ddd by Fernando Monteiro Kiotheka at 2025-07-30T16:30:09-03:00 fix(ci): use gitlab-ci-token user instead of oauth2 - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -6,7 +6,7 @@ test: image: golang:1.24.4 before_script: - go env -w GOPRIVATE="gitlab.c3sl.ufpr.br/*" - - git config --global url."https://oauth2:${CI_JOB_TOKEN}@gitlab.c3sl.ufpr.br/".insteadOf "https://gitlab.c3sl.ufpr.br/" + - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.c3sl.ufpr.br/".insteadOf "https://gitlab.c3sl.ufpr.br/" script: - go fmt $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/) @@ -22,6 +22,6 @@ release: GIT_DEPTH: 0 before_script: - go env -w GOPRIVATE="gitlab.c3sl.ufpr.br/*" - - git config --global url."https://oauth2:${CI_JOB_TOKEN}@gitlab.c3sl.ufpr.br/".insteadOf "https://gitlab.c3sl.ufpr.br/" + - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.c3sl.ufpr.br/".insteadOf "https://gitlab.c3sl.ufpr.br/" script: - goreleaser release --clean View it on GitLab: https://gitlab.c3sl.ufpr.br/root/netboxadm/-/commit/09a02dddbef1209e1f147a1c... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/netboxadm/-/commit/09a02dddbef1209e1f147a1c... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
Fernando K (@fmkiotheka)