Skip to content

Commit c9b6b01

Browse files
authored
Fix the ci-release target in Makefile (#337)
Attempt to fix failing v0.3.0 release: ``` WARNING: Error loading config file: /root/.docker/config.json: : read /root/.docker/config.json: is a directory WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credential-stores Error saving credentials: rename /root/.docker/config.json3144492920 /root/.docker/config.json: file exists make: *** [Makefile:62: ci-release] Error 1 Error: Process completed with exit code 2. ``` - Removing Docker config management since it is not necessary for this release - Simplifying workspace dir setup
1 parent d811d3f commit c9b6b01

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,8 @@ ci-release:
6363
--rm \
6464
-e CGO_ENABLED=1 \
6565
-e GITHUB_TOKEN="$(GITHUB_TOKEN)" \
66-
-v /var/run/docker.sock:/var/run/docker.sock \
67-
-v $(HOME)/.docker/config.json:/root/.docker/config.json \
68-
-v `pwd`:/go/src/$(PACKAGE_NAME) \
69-
-v `pwd`/sysroot:/sysroot \
70-
-w /go/src/$(PACKAGE_NAME) \
66+
-v `pwd`:/workspace \
67+
-w /workspace \
7168
ghcr.io/goreleaser/goreleaser-cross:v1.21.12 \
7269
release --clean --auto-snapshot
7370

0 commit comments

Comments
 (0)