mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Signed-off-by: Alex Goodman <alex.goodman@anchore.com> Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
12 lines
240 B
Bash
Executable File
12 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
|