From 38f44c3c5be1b48bc075713ef45c00cf1c223a59 Mon Sep 17 00:00:00 2001 From: stephengaudet Date: Tue, 15 Aug 2023 15:16:47 -0700 Subject: [PATCH] avoid device or resource busy error --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} \