Unverified Commit 74819a09 authored by Roy Hadad's avatar Roy Hadad Committed by GitHub
Browse files

fix: run pre-commit hook with --user root (#780)

* fix: run pre-commit hook with --user root

* fix docker image line
parent 6ea71a79
Showing with 3 additions and 3 deletions
+3 -3
- id: datree-docker
name: datree test, run within docker
description: Prevent Kubernetes misconfigurations from reaching production
types: [file, yaml]
types: [ file, yaml ]
language: docker_image
pass_filenames: true
args: ['test', '--only-k8s-files']
entry: datree/datree:latest
args: [ 'test', '--only-k8s-files' ]
entry: --user root datree/datree:latest
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment