mirror of
https://github.com/drone-plugins/drone-docker.git
synced 2026-06-04 18:24:24 +08:00
Updated cmd/drone-ecr/main.go
This commit is contained in:
committed by
OP (oppenheimer)
parent
e7e8dd882d
commit
49e9dde7a7
@@ -220,7 +220,7 @@ func getECRClient(sess *session.Session, role string, externalId string, idToken
|
||||
}
|
||||
|
||||
if idToken != "" {
|
||||
tempFile, err := ioutil.TempFile("/tmp", "idToken-*.jwt")
|
||||
tempFile, err := os.CreateTemp("/tmp", "idToken-*.jwt")
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create temporary file: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user