File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 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
5151docker-run-release :
5252 git checkout master
5353 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
5456 # 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
5661
5762.PHONY : dist
5863dist : 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