mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
12 lines
238 B
Bash
12 lines
238 B
Bash
#!/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
|