mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
05611c283d
Signed-off-by: Alex Goodman <alex.goodman@anchore.com> Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
11 lines
240 B
Bash
Executable file
11 lines
240 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
red=$(tput setaf 1)
|
|
bold=$(tput bold)
|
|
normal=$(tput sgr0)
|
|
|
|
# assert we are running in CI (or die!)
|
|
if [[ -z "$CI" ]]; then
|
|
echo "${bold}${red}This script should ONLY be run in CI. Exiting...${normal}"
|
|
exit 1
|
|
fi
|