mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
88c81d33ed
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
11 lines
238 B
Bash
Executable file
11 lines
238 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 step should ONLY be run in CI. Exiting...${normal}"
|
|
exit 1
|
|
fi
|