In Bash, "-eq" compares integers, and "==" compares strings, so "debug -eq latest" always evaulated to true. $ if [[ "debug" -eq "latest" ]]; then echo latest; else echo debug; fi latest $ if [[ "debug" == "latest" ]]; then echo latest; else echo debug; fi debug |
||
|---|---|---|
| .. | ||
| images.yaml | ||
| integration-tests.yaml | ||
| scorecards-analysis.yml | ||
| unit-tests.yaml | ||