GoogleContainerTools / jib

🏗 Build container images for your Java applications.
Apache License 2.0
13.52k stars 1.42k forks source link

Enable to skip update checks from pom properties #4212

Open rmannibucau opened 4 months ago

rmannibucau commented 4 months ago

Follow up of https://github.com/GoogleContainerTools/jib/issues/3350#issuecomment-885058082 since it is really bothering to not be able to disable update check for project in time - when you don't work on a single "everyday" project and disabling it globally is rarely the desired behavior (it is really a per project thing) but the properties were not read as expected so this PR ensures it is the case.

Thank you for your interest in contributing! For general guidelines, please refer to the contributing guide.

Please follow the guidelines below before opening an issue or a PR:

Fixes # 🛠️

slawekjaranowski commented 1 month ago

even more there is the problem to settings environment variable with dots like jib.disableUpdateChecks on unix systems

I have tested with zsh and bash on macOs ...

zsh

export jib.disableUpdateChecks=true 
export: not valid in this context: jib.disableUpdateChecks

bash

export jib.disableUpdateChecks=true
bash: export: `jib.disableUpdateChecks=true': not a valid identifier

so I can not disable it at easy way