drone-plugins / drone-s3-cache

Caches build artifacts to S3 compatible storage backends
http://plugins.drone.io/drone-plugins/drone-s3-cache
Apache License 2.0
29 stars 30 forks source link

Regression in c1c22f16fcd210ceda5a961da008dfedee63cf56 #41

Closed mithrandi closed 6 years ago

mithrandi commented 6 years ago

After c1c22f16fcd210ceda5a961da008dfedee63cf56 all my cache ops are failing with:

time="2018-07-10T22:10:26Z" level=warning msg="Cache could not be restored The provided token is malformed or otherwise invalid."

donny-dont commented 6 years ago

@mithrandi can you try setting the region to be an empty string?

mithrandi commented 6 years ago

Yup, that fixes it. Presumably because my bucket has no location constraint?

donny-dont commented 6 years ago

I'm guessing so.