Skip to content

Commit f626866

Browse files
committed
Fix token and disable telemetry
1 parent 9174ede commit f626866

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ release:
145145
--target=publish-gitlab \
146146
--build-arg=CI_SERVER_HOST \
147147
--build-arg=CI_JOB_TOKEN \
148-
--build-arg=GITLAB_TOKEN \
148+
--build-arg=GITLAB_TOKEN="${CI_JOB_TOKEN}" \
149149
--build-arg=SIGSTORE_ID_TOKEN \
150150
.
151151

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ RUN --mount=target=.,readwrite \
7575
--mount=from=uniget-jq,src=/bin/jq,target=/usr/local/bin/jq \
7676
--mount=type=cache,target=/go/pkg/mod \
7777
--mount=type=cache,target=/root/.cache/go-build <<EOF
78+
export GLAB_SEND_TELEMETRY=0
7879
glab auth login --hostname="${CI_SERVER_HOST}" --job-token="${CI_JOB_TOKEN}"
7980
bash scripts/release-notes-gitlab.sh >/tmp/release-notes.md
8081
goreleaser healthcheck --config=.goreleaser-gitlab.yaml

0 commit comments

Comments
 (0)