This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/detect-config.sh
Joseph Schorr 43d74d808c Add a script which explicitly detects for the presence of config.yaml in the built container, and fails if it is there
This will prevent any leakage of config.yaml's into the built image
2018-01-31 18:56:50 -05:00

8 lines
No EOL
155 B
Bash
Executable file

if find . -name "config.yaml" -exec false {} +
then
exit 0
else
echo '!!! config.yaml found in container !!!'
find . -name "config.yaml"
exit -1
fi