diff --git a/pkg/build/gcloud/storage/gsutil.go b/pkg/build/gcloud/storage/gsutil.go index c29bb66bb52..3c7e5392386 100644 --- a/pkg/build/gcloud/storage/gsutil.go +++ b/pkg/build/gcloud/storage/gsutil.go @@ -353,7 +353,7 @@ func (client *Client) DownloadDirectory(ctx context.Context, bucket *storage.Buc } for _, file := range files { - err = client.downloadFile(ctx, bucket, file.FullPath, filepath.Join(destPath, file.PathTrimmed)) + err = client.downloadFile(ctx, bucket, file.FullPath, file.PathTrimmed) if err != nil { return err }