[Git][root/netboxadm][main] fix(ci): use GITLAB_TOKEN for goreleaser

Fernando K pushed to branch main at Root / Netboxadm Commits: 2ccd2cca by Fernando Monteiro Kiotheka at 2025-07-30T16:52:53-03:00 fix(ci): use GITLAB_TOKEN for goreleaser - - - - - 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://gitlab-ci-token:${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://gitlab-ci-token:${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 + - GITLAB_TOKEN=$CI_JOB_TOKEN goreleaser release --clean View it on GitLab: https://gitlab.c3sl.ufpr.br/root/netboxadm/-/commit/2ccd2cca638f51a55c07d585... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/netboxadm/-/commit/2ccd2cca638f51a55c07d585... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
Fernando K (@fmkiotheka)