timfeirg / lain-cli

DevOps with minimum effort.
https://lain-cli.readthedocs.io/en/latest/
MIT License
31 stars 9 forks source link

ignore-lint should not interfere with imageTag check logic #59

Closed timfeirg closed 2 years ago

timfeirg commented 2 years ago

目前 ignore lint 会跳过镜像检查, 这其实从流程正确性上来讲有问题, 镜像应该做强制检查, 与 ignore lint 无关才对, 具体就是:

timfeirg commented 2 years ago

并未按照设想的方式解决, 维持从前的逻辑就好, 但是增加了 --ignore-lint 与 --build 不能共用的检查.

ignore-lint 其实就是 registry 出问题时的绕过手段, 这次将该含义落实到代码逻辑里了.