Stuff
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m19s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m19s
This commit is contained in:
parent
ecd319f629
commit
44b7876f7a
14
main.go
14
main.go
@ -96,15 +96,19 @@ func main() {
|
|||||||
return fmt.Errorf("error copying %s (%d bytes written): %v", relativeParh, written, err)
|
return fmt.Errorf("error copying %s (%d bytes written): %v", relativeParh, written, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := mwriter.Close(); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
githubactions.Fatalf("Unable to create request body : %v", fmt.Errorf("%w", err))
|
githubactions.Fatalf("Unable to create request body: %v", fmt.Errorf("%w", err))
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := mwriter.Close(); err != nil {
|
||||||
|
githubactions.Fatalf("Unable to close multipart writer: %v", fmt.Errorf("%w", err))
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := writer.Close(); err != nil {
|
||||||
|
githubactions.Fatalf("Unable to close writer: %v", fmt.Errorf("%w", err))
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user