datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.4k stars 359 forks source link

265-dheerajsingh0-docker-img-inject-the-account-token-from-the-pre-commit-config #965

Open dheerajsingh0 opened 11 months ago

dheerajsingh0 commented 11 months ago

265 dheerajsingh0-inject-the-account-token-from-the-pre-commit-config-to-the-docker-img

Store your account token in an environment variable. This is generally safer than hardcoding it into scripts or configurations

export DATREE_ACCOUNT_TOKEN='your_token_here'

dheerajsingh0 commented 11 months ago

@eyarz please Review This PR.