Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 8a3c468

Browse files
Codebreaker101kakkoyunAntonio Kovačeivć
authored
Fix NoCredentialProviders error when accessing public bucket on Minio (#133)
* Regenerate: Fix README CI failures Signed-off-by: Kemal Akkoyun <[email protected]> * fix #132 Co-authored-by: Kemal Akkoyun <[email protected]> Co-authored-by: Antonio Kovačeivć <[email protected]> Co-authored-by: Kemal Akkoyun <[email protected]>
1 parent 5452b01 commit 8a3c468

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
- Fixed Anonymous Credentials Error on public buckets
11+
- Fixes [#132](https://github.com/meltwater/drone-cache/issues/132)
12+
1013
### Added
1114

1215
- [#102](https://github.com/meltwater/drone-cache/pull/102) Implement option to disable cache rebuild if it already exists in storage.

storage/backend/s3/s3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func New(l log.Logger, c Config, debug bool) (*Backend, error) {
3535
Endpoint: &c.Endpoint,
3636
DisableSSL: aws.Bool(!strings.HasPrefix(c.Endpoint, "https://")),
3737
S3ForcePathStyle: aws.Bool(c.PathStyle),
38+
Credentials: credentials.AnonymousCredentials,
3839
}
3940

4041
if c.Key != "" && c.Secret != "" {

0 commit comments

Comments
 (0)