The call to minio.NewWithCredentials wasn't passing in the region. This wasn't a problem when the region was in the endpoint but after the plugin was modified to gather bucket and region from the endpoint and then set it to the default this issue got identified.
The call to
minio.NewWithCredentials
wasn't passing in the region. This wasn't a problem when the region was in the endpoint but after the plugin was modified to gather bucket and region from the endpoint and then set it to the default this issue got identified.Fixes https://github.com/drone-plugins/drone-s3-cache/issues/63