File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,13 @@ docker-run-release: export pkg=/go/src/github.com/databus23/helm-diff
51
51
docker-run-release :
52
52
git checkout master
53
53
git push
54
+ # needed to avoid "failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied"
55
+ mkdir -p docker-run-release-cache
54
56
# uid needs to be set to avoid "error obtaining VCS status: exit status 128"
55
- docker run --user $(shell id -u) -it --rm -e GITHUB_TOKEN -v $(shell pwd) :$(pkg ) -w $(pkg ) golang:1.19.8 make bootstrap release
57
+ docker run --user $(shell id -u) -it --rm -e GITHUB_TOKEN \
58
+ -v $(shell pwd) :$(pkg ) \
59
+ -v $(shell pwd) /docker-run-release-cache:/.cache \
60
+ -w $(pkg ) golang:1.19.8 make bootstrap release
56
61
57
62
.PHONY : dist
58
63
dist : export COPYFILE_DISABLE=1 # teach OSX tar to not put ._* files in tar archive
You can’t perform that action at this time.
0 commit comments