public Builder setAllowInsecureRegistries(boolean allowInsecureRegistries) {
      this.allowInsecureRegistries = allowInsecureRegistries;
      return this;
    }
Sets whether or not to allow communication over HTTP (as opposed to HTTPS).

@param allowInsecureRegistries if {@code true}, insecure connections will be allowed
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java