Skip to content

Commit 2c50574

Browse files
authored
Fix insights-cli release (#311)
1 parent d1f281c commit 2c50574

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
-v /var/run/docker.sock:/var/run/docker.sock \
7676
-v "$(pwd):/workspace" -w /workspace \
7777
-e CIRCLE_SHA1 -e CIRCLE_BRANCH -e CIRCLE_TAG \
78-
goreleaser/goreleaser:v2.14.2 --snapshot
78+
goreleaser/goreleaser:v2.14.2 release --snapshot
7979
- run: mkdir snapshot-artifacts && cp dist/*.tar.gz dist/*.txt dist/*.json snapshot-artifacts
8080
- store_artifacts:
8181
path: snapshot-artifacts
@@ -108,8 +108,11 @@ jobs:
108108
docker run --rm \
109109
-v /var/run/docker.sock:/var/run/docker.sock \
110110
-v "$(pwd):/workspace" -w /workspace \
111+
-v "${HOME}/.docker:/root/.docker" \
111112
-e GORELEASER_CURRENT_TAG -e CIRCLE_TAG -e CIRCLE_SHA1 \
112-
goreleaser/goreleaser:v2.14.2
113+
-e GO111MODULE=on \
114+
-e GITHUB_TOKEN \
115+
goreleaser/goreleaser:v2.14.2 release
113116
114117
workflows:
115118
version: 2

0 commit comments

Comments
 (0)