Skip to content

Commit

Permalink
fix make lint (#267)
Browse files Browse the repository at this point in the history
* fix make lint by forcing bind mount to belong to the running user

* remove userns
  • Loading branch information
skylenet authored Dec 19, 2023
1 parent 7247940 commit fbf32f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ init:
@pre-commit install

lint:
@docker run --rm --workdir /workdir --volume "$(CURRENT_DIR):/workdir" -u $(UID) -e "HOME=/tmp" quay.io/helmpack/chart-testing:v3.10.0 ct lint --target-branch master
@docker run --rm --workdir /workdir --volume "$(CURRENT_DIR):/workdir" -u $(UID) -e "HOME=/tmp" quay.io/helmpack/chart-testing:v3.10.0 sh -ac 'chown ${UID} .; exec ct lint --target-branch master'

docs:
@docker run --rm --volume "$(CURRENT_DIR):/helm-docs" -u $(UID) jnorwood/helm-docs:v1.5.0
Expand Down

0 comments on commit fbf32f1

Please sign in to comment.