diff --git a/Makefile b/Makefile index af5afe7d..db9ff86a 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ release-preview: --privileged \ -e CGO_ENABLED=1 \ -v /var/run/docker.sock:/var/run/docker.sock \ - -v $(HOME)/.docker/config.json:/root/.docker/config.json \ + -v $(HOME)/.docker:/root/.docker \ -v `pwd`:/go/src/$(PACKAGE_NAME) \ -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \ @@ -63,7 +63,7 @@ release: -e CGO_ENABLED=1 \ --env-file .env \ -v /var/run/docker.sock:/var/run/docker.sock \ - -v $(HOME)/.docker/config.json:/root/.docker/config.json \ + -v $(HOME)/.docker:/root/.docker \ -v `pwd`:/go/src/$(PACKAGE_NAME) \ -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \