mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-04 19:32:06 +02:00
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