There is no reason to log into a registry if credentials are not provided (withRegistry allows this with a null variable). Conversely, it fixes an issue where REGISTRY_AUTH_FILE is defined and subsequently overridden by the docker (podman) login command.
There is no reason to log into a registry if credentials are not provided (withRegistry allows this with a null variable). Conversely, it fixes an issue where REGISTRY_AUTH_FILE is defined and subsequently overridden by the docker (podman) login command.